C++ SDL Animation Help [solved]

Started by
-1 comments, last by nothingalike 12 years, 9 months ago
I'm new to SDL, but I have some experience with C++ (meaning I was a CS Major and took some classes + Independent study at home). I tried looking through the forum for this particular problem, and its probably in there but the search didn't show anything. Here's my problem, and its probably really simple to fix.(note: I'm trying to make a pong clone) When I'm moving the paddle up and down, it does move, but really its just making paddle grow. I could just start pasting code in here, but i'd rather paste what is need. So any help would be appreciated. Thanks

Solution:


//Fill the screen black
SDL_FillRect( screen, &screen->clip_rect, SDL_MapRGB( screen->format, 0, 0, 0 ) );


forgot to update the screen. woops

This topic is closed to new replies.

Advertisement