playMaker

Author Topic: Variable Manager Enhanced and FSM Controls Advanced  (Read 3006 times)

antus

  • Playmaker Newbie
  • *
  • Posts: 7
Variable Manager Enhanced and FSM Controls Advanced
« on: November 12, 2024, 06:33:09 AM »
1.Variable Manager Enhanced
I currently have an FSM with 70 variables in the Variables Manager. Now the Variables Manager is very sluggish. Now in the Variables Manager, you can set the category for variables. This setting is indeed very useful. For a Variables Manager with 70 variables, this list is still too long.
I suggest enhancing the Variable Manager.Make the categories collapsible in the Variable Manager.And in the State Inspector, just like using the slash (/) symbol in variable names, it can be used to hierarchize or organize variable names.

2.FSM Controls Advanced
Currently, for larger game projects with dozens of FSMs or more.
setting certain FSM variables requires locating specific game objects, FSMs, and variables, Searching for them takes an enormous amount of time and is absolutely maddening.
I suggest adding an editor interface,that would allow users to gather critical variables in the project into a single, consolidated view.
« Last Edit: November 12, 2024, 06:51:39 AM by antus »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15612
  • Official Playmaker Support
Re: Variable Manager Enhanced and FSM Controls Advanced
« Reply #1 on: November 16, 2024, 03:57:55 AM »
Hi,

70 variable for one fsm is way too much, split your logic into several fsm, and have them communicating.

The rule I apply for my big projects is to have "MetaData Fsm" that only store variables, and contains no logic, then underneath that gameobject with this FsmData, I have several children each with different features, and get their data from this "Data Fsm"

https://hutonggames.com/playmakerforum/index.php?topic=21187.msg93550#msg93550

my rule of thumb, is that as soon as I have more than 12/15 fsm variable, I stop and split the fsm into several fsm.

Bye,

Jean