So you blit the whole background each time - doesn't that slow things down?

Florian Gross <flgr / ccan.de> wrote in message news:<2gv9g8F7ad9aU1 / uni-berlin.de>...
> Glenn wrote:
> 
> > What I want is (I guess), to restore just the areas where the sprite
> > moved from, so I guess I need to take a copy of what was in that area
> > before I draw the sprite.
> > Can't for the life of me figure out how.  Help!
> 
> This is how I do these things:
> 
> 1) Blit all elements of the background to a background surface. (You 
> only need to do this when the background changes.)
> 2) Blit the background surface to the main surface every frame.
> 3) Blit pacman to the main surface every frame.
> 
> Regards,
> Florian Gross