Game Development Community

animation snap? need to smooth it out

by Vickie Eagle · in Torque Game Builder · 11/27/2011 (2:27 pm) · 8 replies

have any of you guys had a problem with the animation snapping between sprite sheets? I have an animated spider creature that snaps when changing direction. Its just not a smooth transition, have any of you had this problem with your animations? If so how did you fix it?
www.eaglesoftworks.com/TGB/animation.jpg
Always~

#1
11/28/2011 (9:35 am)
Is your spider on a path? Or is it programmed movement behavior?
#2
11/28/2011 (9:45 am)
Hi William, it's programmed movement behavior.

What do you think?

Always~
#3
11/28/2011 (4:11 pm)
There's a function you can call on your sprites to only make them move forward: "%sprite.setForwardMovementOnly( true );". Then you can call "%sprite.setForwardSpeed( <speed> );" to (of course) set its speed and use "%sprite.rotateTo(...);" or "%sprite.setRotation( <angle> );" to set the direction it goes. If you use "rotateTo", you'll get a nice curve in the movement.

Let me know if it works!
#4
11/28/2011 (4:19 pm)
This sounds great William! I'll let you know how it goes~

Always~
Vickie ;)
#5
12/01/2011 (1:29 am)
You can't rotate sprites in an isometric game though, they won't appear to be aligned with the floor any more. You have to animate the turning and save this as a new animation.

Here's an example - the turning is an animation (exported from 3D software and made into a sprite sheet).

www.youtube.com/user/m0n0RAIL?feature=mhee#p/u/25/hDZdgHFKXTo
#6
12/01/2011 (10:51 am)
Thanks Conner, that's good info to know. The game you showed me in the video is that your work? Its very good! I loved the smoothness of your animation. On another note I believe everyone when they tell me this engine is not for making isometric games, I really thought a torque product would be up to speed but I was wrong. But I don't give up! I have found an engine that will do what I need and it supports isometric animation with blending and culling. It also has static and dynamic lights!
eaglesoftworks.com/TGB/lights.jpgI think this will do everything I need to complete this game I'm working on and I don't have to come up with a bunch of work around and settle for a crappy looking game. Now I can do what I need. Make me mad I spent the money on this engine and the adventure kit just to find out both of them are useless. I hope I can get my money back.
#7
12/01/2011 (8:24 pm)
Vickie - unfortunately it can take a while before you become familiar enough with an engine to know what its strengths and weaknesses are. I certainly wouldn't try to make an isometric game in Torque. However there are lots of other game-types that Torque is well suited to, and perhaps in the future you'll want to make something other than isometric games and find that Torque is a good choice.

Your screenshot looks really nice - although I think you need a transition texture from rock to paving. Some of your paving stones are getting cropped half way through which doesn't look good.
#8
12/01/2011 (10:02 pm)
this is just a test level Conner, don't be so critical LOL!