playMaker

Author Topic: GameObjects design using PlayMaker  (Read 102 times)

Zeyfon

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
GameObjects design using PlayMaker
« on: January 12, 2021, 03:39:44 PM »
Hi everyone,

Just a small doubt here, is more about design than PlayMaker itself.

I made my Player using 11 Playmaker components in the Player Object (For the Player Controller as for each of the states the player can be). There are no issues and everything works fine. This approach let the designer have all the variables he needs in their own state(PlayMaker Component), and have everything tidy.

Still I am doubtful about this approach.

I add somes images about my Player Controller that only enables and disables the necessary states (PlayMaker Component) using the Enable FSM action.

Any comments or sugestions about this?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 5681
    • View Profile
    • jinxtergames
Re: GameObjects design using PlayMaker
« Reply #1 on: January 13, 2021, 06:12:59 AM »
Hi.
Its good to have this split up yes.

For me, i do not enable/disable, but send events.

You could also use Run Fsm and templates, but i would suggest to wait for 1.9.1 update as the action is getting an overhaul.

Zeyfon

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: GameObjects design using PlayMaker
« Reply #2 on: January 13, 2021, 09:46:30 AM »
Excellent! This helps me a lot.
Thanks!

Was contemplating the templates and use the Run FSM action from within the PlayerController, but will put this option aside for now to wait for the update.