View Single Post
Old 20 August 2018, 10:20   #7
AChristian
Registered User
 
Join Date: Aug 2018
Location: england
Posts: 24
Quote:
Originally Posted by mcgeezer View Post
If you have the memory keep a pristine buffer of the background, that way u don't have to save the sprite background saving you CPU/Blit time.
so you have an offscreen buffer that is just the background,
you then draw sprites onto the screen,

then copy just areas of the buffer back to the screen which erases the sprites
then draw sprites again

I guess that would be faster, as you dont have to work out how many bits a background graphic has been shifted by scrolling?

But then, wouldnt you have to copy the whole screen to a buffer each frame?
AChristian is offline  
 
Page generated in 0.04366 seconds with 11 queries