Looping and non looping flipbooks
I have a really basic animation state machine that I'm trying to have toggle looping on or off depending on what flipbook I want to play. Some animations I want to loop, and some I don't.
Here is my current failing method: http://puu.sh/eV8D7/7d1fd2c12d.png
What happens is after looping is turned off all flipbooks will only play the first frame and then stop even after looping has been turned back on. Without those SetLooping nodes everything works except flipbooks that I don't want to loop keep looping like jump and crouch.
The issue is that when you turn off looping the animation will stop playing for the sprite. So after you re-enable looping you will need to call the "Play" method again to restart the animation.
Should look something like this: http://puu.sh/eWvkj/5209ffdcc5.png
Follow this question
Once you sign in you will be able to subscribe for any updates here