Jump to content
  • Advertisement
Sign in to follow this  

SDL Animation

This topic is 5057 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I have read the 3rd lesson from cone3d about sprites and their animation... FIRST...I am fairly new to SDL (lesson 1 and 2), and don't think I'll get to use animated sprites in my first games, so if you think I should skip it, I'll do so. Well, I know a bit about C++ classes, but the lesson was very confusing... So I asked for an easier method -> SDL_GetTicks() But I still don't get it :( Could you give me some example code to animate, let's say, a box that changes colour from red to blue and back to red again (call the image pic01, box etc.) Thanks!!!

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!