Game Development Community

Animation

by Fucifer · in Torque Game Builder · 06/02/2006 (8:36 am) · 4 replies

What would be the best way to animate a character? I want to keep it simple.? This what like to do. Use the standard w,a,s and d keys. I want the character to be at idle until you press key. When you press key it show the property animation for walking that way, like left.

#1
06/02/2006 (8:49 am)
Well, how complex will your character movement be?
#2
06/02/2006 (11:38 am)
Not very complex. Think about using Image maps and not dts. Some simple when the key it switch to the image maps and play the animation.
#3
06/02/2006 (7:30 pm)
If you're talking about the programming process, the fish game tutorial teaches how to bind a sprite to the w,a,s,d keys. How to animate it, I don't know. If you're talking about creating the animation, a simple way is to create 9 pictures- 3 for walking up, 3 for down, and 3 for left. Use the left ones for the right by mirror-imaging them. Each set of 3 images will be: 1.) a standing image, 2.) an image with the character's left leg out, 3.) and an image with his right leg out. When a key is pressed, the animation cycles like this: left leg, standing, right leg, standing, left leg, standing, etc. When the key is released, only the standing image is used.
#4
06/02/2006 (8:22 pm)
Thanks Jeffrey. Yes I am about how to animate it. I know how to assign the keys and do animation it self with poser. What I need to know is when I press "a" key like say "a" and walk left,what is the code to display the correct image so the character lappear to walk left. You did very good explanation of what I am try to acheive.