Playmaker Forum

PlayMaker Feedback => Feature Requests => Topic started by: hannibalov on December 08, 2012, 09:30:18 AM

Title: Sub-state machines
Post by: hannibalov on December 08, 2012, 09:30:18 AM
Hi, first things first, I recently bought Playmaker and I am amazed by the work.

Now getting to the point, I read on the roadmap that hyerarchical FSM are planned. I assume this means sub-state machines like in mecanim? Is there a rough ETA on that? I am very very interested in that feature.

About that, will they be generic? Meaning, would sub-FSMs be swappable on runtime? (kind of like inheritance in programming). I'm guessing that would mean hard work, but hey, I'm already amazed, there's no reason not to be amazed twice ;)

Thank you!
Title: Re: Sub-state machines
Post by: kiriri on December 08, 2012, 10:37:07 AM
swappable on runtime seems like a nice idea but it'd probably cause compiler errors... can't be sure though. If FSMs are nothing more than components, an ability to expose subfsm variables within playmaker as just like normal object variables would be awesome.
Anyways, + 1 to that :)
Title: Re: Sub-state machines
Post by: Alex Chouls on December 08, 2012, 10:51:36 AM
Sub FSMs are actually in beta now :)

The first pass uses a Run FSM action and some UI teaks to make it easy to jump into the sub FSM to edit or view it.

The sub FSM is an FSM Template so you can easily share FSMs across your project. The PlayMakerFSM inspector also lets you point to an FSM template now.

Right now you can't swap the sub FSM at runtime, but you can easily switch between different states that each have their own sub FSM. Initialization of swappable sub FSMs would be a little tricky, but something we'll look into for the future :)
Title: Re: Sub-state machines
Post by: hannibalov on December 09, 2012, 07:40:31 AM
wow, awesome! Is there any rough ETA?

Great work guys
Title: Re: Sub-state machines
Post by: tester on December 13, 2012, 01:54:23 PM
+1 support!!!!
What is the ETA
Title: Re: Sub-state machines
Post by: Dreatern on December 14, 2012, 10:40:49 AM
would be something like the building blocks in 3Dvia Studio / Virtools?
http://www.3dvia.com/studio/documentation/user-manual/programming/schematic/graph-elements/building-block

If yes, +1

Something like this
(https://lh5.googleusercontent.com/-xtn-QblVnpU/UMtNXt6jTVI/AAAAAAAAB3M/mmxupwgEh3w/s840/sub_fsm.jpg)

this is really interesting and useful
Title: Re: Sub-state machines
Post by: hannibalov on December 14, 2012, 01:26:24 PM
ETA stands for Estimated Time of Arrival. If it's in beta it should get released soon, but soon can mean days, weeks or months.

It would be great for me to know the scale of the wait, because for my project I could choose from different options depending on it. But I see they keep quiet about it. No problem, it's a valid strategy, I'll choose a conservative option and move on as if they are not going to be available
Title: Re: Sub-state machines
Post by: tester on December 14, 2012, 11:29:34 PM
I heard the next playmaker can print money, but there is no ETA yet.