Playmaker Forum

PlayMaker Help & Tips => PlayMaker Tips & Tricks => Topic started by: bernardfrancois on April 12, 2011, 12:37:11 PM

Title: PlayMaker for FSM state creation and linking, Unity for programming
Post by: bernardfrancois on April 12, 2011, 12:37:11 PM
Here at PreviewLabs (http://www.previewlabs.com), we've been playing around with PlayMaker lately to consider using it in our future prototyping projects.

Our conclusion is that PlayMaker is most interesting when using it to create and link states, while keeping the state behavior in code.
More can be read here (http://www.previewlabs.com/unity-and-playmaker/).
Title: Re: PlayMaker for FSM state creation and linking, Unity for programming
Post by: MaDDoX on April 12, 2011, 04:41:32 PM
Interesting approach, sounds like a good option to integrate existing code in a Playmaker FSM – you can do a similar thing with the ‘Enable Behavior’ action. The disadvantage with this approach is that you lose the quick reference to what the state is doing by simply clicking on it and reading its action list.

I think we could really use some more algorithmic actions in PlayMaker to avoid so much state fragmentation that things get crowded and hard to understand, I’ve already released one such action and am currently working on others.
Title: Re: PlayMaker for FSM state creation and linking, Unity for programming
Post by: jeanfabre on April 13, 2011, 02:25:44 AM
Hi,

 I agree too, some logical blocks to route events instead of plain actions. A case statement, or a if statement should maybe not be considered as an action properly speaking but as a different sort of State with a different shape and all that. Is it what you are saying?

Bye,

 Jean
Title: Re: PlayMaker for FSM state creation and linking, Unity for programming
Post by: jasonlee on April 27, 2011, 09:14:08 PM
I'm thinking about the same approach, to keep actions per state minimum, move all game logic outside of fsm as separate script.
Playmaker is not a visual scripting tool, the action list is hard to and should not turn into a visual graph.