[Solved]How to mirror an AnAL animation
Posted: Fri Jan 03, 2014 3:08 am
I'm making a platformer and I have a character comprised of 3 animated parts: arm, body, face. The frames for the animations of each part are in their own spritesheets and are animated using AnAL. I'm not sure how to mirror the animations when turning from left to right (the textures face left), and I'm not sure how to change from the idle animations to the walking animations. All of the tutorials and threads I've seen so far use drawn images (using löve's draw function) and aren't animated or are animated using something other than AnAL.
For the walking / idle animation switch, I've tried stopping the idle animation and starting the walking one under the love.keyboard.isDown, but that just stopped the idle animation even when the button wasn't down and when the button was down, the new one didn't start. A similar thing happened with love.keypressed.
Download:https://dl.dropboxusercontent.com/u/116 ... rySP5.love
Thanks in advance
For the walking / idle animation switch, I've tried stopping the idle animation and starting the walking one under the love.keyboard.isDown, but that just stopped the idle animation even when the button wasn't down and when the button was down, the new one didn't start. A similar thing happened with love.keypressed.
Download:https://dl.dropboxusercontent.com/u/116 ... rySP5.love
Thanks in advance