Skip to main content
GameDev.net gamedev.net
🔒 Locked

SDL Animation?

Started by thugkilla Jul 27, 2006 at 3:49 PM 0 replies 950+ views
Original Post
thugkilla
thugkilla
Hello everyone, I'am using SDL to work on a game. I'am not expected to finish it I just want to use it to learn from practice. Ok so I have arrive to the point where I have to use animation. I'am kind of stuck on how I should do it.The Sprite sheet I'am using is 128 by 192 and its a basic 4 by 4 sprite sheet for walking having up,down,left,and right with backround color black. Any ideas on how to do it?
wkiffer
wkiffer
Here's a pretty good tutorial. It only covers moving something left and right however moving up and down should just be a simple matter of adding a y offset and a y velocity variable.

Hope it helps,
Will


Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.