playMaker

Author Topic: Advice for better practices when working  (Read 332 times)

paradiseprime

  • Junior Playmaker
  • **
  • Posts: 88
Advice for better practices when working
« on: May 26, 2021, 04:48:27 PM »
I have my entire locomotion handled in 1 FSM. Walk/Run/Vault/Jump/Glide/Air Dash/Wall Running/Falling.

Is it better to split these up into each of their own FSMs and then have them work off each other or have them all in one?


djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 6495
    • jinxtergames
Re: Advice for better practices when working
« Reply #1 on: May 28, 2021, 09:35:03 AM »
Hi.
In our project i have separated fsms to handle it.
But if things works fine i see no reason to change.
'Run Fsm' with templates can make your fsm more clean as you can group your actions for each type.
Ecosystem might not work at the moment
here are direct Github Links to the custom actions :
https://github.com/PlayMakerEcosystem
https://github.com/jeanfabre


Join the PlayMaker Discord Channel!

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1241
    • Fat Pug Studio
Re: Advice for better practices when working
« Reply #2 on: June 09, 2021, 02:21:12 PM »
I have my entire locomotion handled in 1 FSM. Walk/Run/Vault/Jump/Glide/Air Dash/Wall Running/Falling.

Is it better to split these up into each of their own FSMs and then have them work off each other or have them all in one?

Definitely split them. Put horizontal movement in one fsm and separate other abilities into their own FSMs.
Available for Playmaker work