Malakyas Posted June 24, 2015 Report Posted June 24, 2015 Everytime I try to call a animation using this kind of event the spriter animations keeps paused on the first frame. Could anyone help me with that? JohnnyType 1 Quote
Mike at BrashMonkey Posted June 24, 2015 Report Posted June 24, 2015 Hi Malakyas, This actually has nothing directly to do with Spriter, and everything to do with basic game-coding logic.If you analyze that one event you have you'll see the problem. What is it actually saying? It's saying "every tick (60 or so times a second) IF the down arrow is being pressed, then play the animation from the beginning"Clearly you'd never see anything but one frame of the first 60th of a second of the animation, so long as down arrow key is being pressed.The solution? Add a condition to the event:Is Down arrow key pressed down AND is animation crouch NOT playing THEN set animation to "crouch" and play from beginning I hope this helps. Cheers.-Mike at BrashMonkey Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.