playMaker

Author Topic: How to design FSM to mange GUI and scene transitions...  (Read 2852 times)

iwan.kartiko

  • Playmaker Newbie
  • *
  • Posts: 6
How to design FSM to mange GUI and scene transitions...
« on: July 22, 2011, 09:33:27 PM »
Hi,

Should I separate GUI's FSM from the scene contoller (main menu-> area01) FSM?
Is it beneficial to have little FMSes or one gigantic one that looks after GUI and scene Transition?

Your feedback is appreciated.

Regards,
Iwan

artician

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 318
Re: How to design FSM to mange GUI and scene transitions...
« Reply #1 on: July 23, 2011, 06:39:12 AM »
I have several seperate FSMs that manage different categories in my project:

gameManager - measures player progress variables
levelManager - handles individual scenes
guiManager - manages GUI interactions/display

It is a good idea to have several, smaller FSMs, because it's not much of a difference in performance, and it's much easier to debug!