Sprite Animation Help
by Edel · in Torque Game Builder · 10/11/2008 (4:57 pm) · 3 replies
I'm having problems using or properly setting up the animation methods!! I have done a few tutorials but when using the animation functions I get all kinds of results.
I have one character: 1 -standing frame, 3 -punch frames, and 3 -kick frames. Two buttons: one for punch and one for kick.
What happens when I press punch or kick is: punch / kick frames go from Punch-0 to Punch-2 - I don't see frame (2) of the Punch / Kick frames! Basically, I don't see Punch / Kick Frame-1 which is frame (2) of those particular animations!! I don't suppose anybody can help me out with this??
I am going crazy!! There are no real examples except maybe the platformer tutorial but those frames are set up in such a way that I can't seem to figure out how just (play some frames when I just press a button)!!
So, I guess thats all I want to do; play some frames of a 'particular animation' when I press a button.
I have one character: 1 -standing frame, 3 -punch frames, and 3 -kick frames. Two buttons: one for punch and one for kick.
What happens when I press punch or kick is: punch / kick frames go from Punch-0 to Punch-2 - I don't see frame (2) of the Punch / Kick frames! Basically, I don't see Punch / Kick Frame-1 which is frame (2) of those particular animations!! I don't suppose anybody can help me out with this??
I am going crazy!! There are no real examples except maybe the platformer tutorial but those frames are set up in such a way that I can't seem to figure out how just (play some frames when I just press a button)!!
So, I guess thats all I want to do; play some frames of a 'particular animation' when I press a button.
About the author
#2
Can you see those frames if you just create a separate animation and drag it into the level editor?
10/14/2008 (4:14 am)
Speed sounds like the issue to me, like Conor said. Can you see those frames if you just create a separate animation and drag it into the level editor?
#3
10/15/2008 (9:07 am)
Well, I thought it might have been a speed issue as well. I slowed the frame rates on the (3) framed animation, but it seem to skip the frame just the same. I could see all three frames in the level editor. I found this tutorial online: http://www.makingindiegames.com/RPGTutorial1.html - That has helped me out on using the animation methods. Thanks for your help guys.
Conor O'Kane
cokane.com
It's possible that your animation is playing so quickly that you don't see the middle frame. Try slowing the framerate right down low and see if that frame is really drawing.