Drawing a background
I have a nice scenic background that is 800 x 600 pixels. But as you can imagine rendering this large image along with transparent golf balls really slows stuff down.
Is there any way I can draw this once and be done with it? You can see a screen shot of the program I''m working on at: http://nanobyte.cjb.net .
Thanks
if i understand what ure asking, then just copy the bitmap to a standard offscreen surface (800*600), using ure bitmap copying procedure. Then, during the loop, just blit that offscreen surface to the back buffer along with your other surfaces (you gold balls, etc...), and then blit the back surface to the front surface.
here in castle camelot we eat ham and jam and spam alot!
here in castle camelot we eat ham and jam and spam alot!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement