Playmaker Forum

PlayMaker Feedback => Feature Requests => Topic started by: fromfame on January 30, 2019, 06:58:40 AM

Title: Neatly combine 'Transition Events' lines together
Post by: fromfame on January 30, 2019, 06:58:40 AM
Often transition events make the canvas look very messy which can easily overwhelm/irritate devs trying to learn your code.

Sometimes I try to align the states like below on the out events
https://imgur.com/a/JntPlgz

It would be great if there was a way to collect all that clutter into one single line when required.
Title: Re: Neatly combine 'Transition Events' lines together
Post by: jeanfabre on February 06, 2019, 02:07:29 AM
Hi,

 you can send a local event that you would call a local event "NEXT" and so you don't need to hard wire, you just need to add "NEXT" as a global transition of the state "next".

does that make sense?

 else, really, this call for a template, where you would have an fsm for each case Primiary, Secondary, Tertiary. This is the most elegant way, as currently your fsm haas the potential to grow if you need more, yet it will become very cluttered indeed, if you make one fsm dealing with one type in a flexible way ( where you define the type via variables you exposed to the inspector, you can then have as much as you need and it will grow nicely and look good.

 Bye,

 Jean