Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: shinodan on April 12, 2012, 06:47:48 AM
-
So i had 3 fsms on my character, and each one waiting for a touch input on my 3 buttons, on touch i wanted them to play a certain animation the first fsm worked fine, i added another and it worked but very glitchy, when i added the third it just started crashing. I guess it was because each of the fsm's in an idle state were set to play the idle animation but i assume they are colliding with each other all trying to play the same animation, so i left 1 fsm to play the idle animation but then the animation would never re-set to idle after the touch ended...
can anyone help me solve this problem?
-
Why you need 3 FSM ? Maybe you can do it on just one.
-
I dont know how to :| i watched a tutorial where and he adds global states and stuff but the interface of his playmaker was different to mine so i had no idea what to do. :/
-
You need to set for example ToIdle event which after your buuton is not touch will go again to first state where you play idle animations. And for all your buttons you have to do theseme.
-
Hi Shinodan,
In what way your interface was different? could you make a screenshot of your interface and tell us what's missing? Playmaker interface like you see in videos is achievable on your computer too, just need to figure out what is not there for you. Or maybe a concept is missing for you to achieve the same result.
Bye,
Jean
-
Screenshot as requested.
-
Shinodan, you need to right click on the state name and choose "Add global transition" to create global transitions like in the tutorial video screenshot
in your example you are clicking outside of the state
-
Sorted, thanks!