Walking animations
by Jeremy Tilton · in Torque Game Builder · 04/04/2005 (8:21 pm) · 3 replies
What's the best way to go about doing a walking animation for moving around? At the moment, I'm looking for simple SNES Final Fantasy-like animations (switching between two frames per direction of walking). I'm thinking that in the "playerMove()" method, I will swap the image, but what do I do to "Swap the image"? Would it be more efficient ot simply load up all 8 or so possible images initially and swap the imagemap reference, or have it all stored as an animated image? Any different ideas?
About the author
Torque 3D Owner Matthew Langley
Torque
There I have a link to the "Unofficial Torque 2D F.A.Q"... in it I have a full example of an animated sprite with walking :) note, you can use .setFlip() to flip the image vs doing duplicate mirror images (like i did)