Game Development Community

Sprite Movement

by Spencer Sherman · in Torque Game Builder · 10/02/2009 (2:25 pm) · 4 replies

I have a static sprite containing 16 frames and I want to write a behavior script for movement. Moving left, right, up, and down. I need to include what frames to display when moving that direction according to the key pressed. Although I have no clue where to start, can anyone point me to a tutorial, or help me write the script?

Thanks,

Spence

About the author

Recent Threads


#1
10/02/2009 (4:03 pm)
It sounds like you want the platformer tutorial at tdn.garagegames.com.
#2
10/02/2009 (4:34 pm)
Not really, I need to incorporate frames.
#3
10/02/2009 (5:46 pm)
You should really contact GG about your status. It looks like you don't own the TGB engine.
#4
10/03/2009 (2:27 am)
I don't, I'm just using the trial. I do plan on buying TGB though, that is if I can even figure out how to make the main character even move, with all the animations correct. I want to use a 16 cell static sprite and just have a script to display certain cells when the character is moving a direction or stopped. But.. I'm not that good of a programmer.