• Advertisement
Sign in to follow this  

SDL Animation

This topic is 4796 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
Advertisement
Sign in to follow this  

  • Advertisement