adam_bailey
May 20th, 2006, 03:06 PM
Hi,
Im using borland 6 to write a game, every time I redraw the graphics I get a flash of gray. I have not seen this happen in other games. My guess is that part of the program is drawing the form's backgroud before it draws the graphics.
I guess my question should be, how do I stop it from drawing the background every time?
I want my game to look smooth without the constant flicker of gray.
EDIT:
Also while looking through the borland help files I read something about drawing to an offscreen canvas before drawing to the form's canvas, but I couldn't find anything about how to actualy do it. Would this work, and if so how do I do it?
Im using borland 6 to write a game, every time I redraw the graphics I get a flash of gray. I have not seen this happen in other games. My guess is that part of the program is drawing the form's backgroud before it draws the graphics.
I guess my question should be, how do I stop it from drawing the background every time?
I want my game to look smooth without the constant flicker of gray.
EDIT:
Also while looking through the borland help files I read something about drawing to an offscreen canvas before drawing to the form's canvas, but I couldn't find anything about how to actualy do it. Would this work, and if so how do I do it?