I've been trying to get an understanding of how to create a platformer with SDL. The problem is, I don't know how properly clear my background's buffer with an image. How I've done it before is by using SDL_FillRect() to cover last frame's content. But how could I achieve this with an image? I'm using SDL_BlitSurface(), and on the surface called in that function, I'm attempting to load moving objects (such as animations and moving characters). Sorry if this doesn't make sense, I'm learning
Edited by monkey7461, 27 November 2013 - 12:11 AM.