gijsterbeek
MIS
Hi,
I'm building a 3D first person shooter in Excel at the moment, using autoshapes to draw the environment background (ground, air) and objects (buildings, bad guys, shadows). To get the framerate smooth, i have tried several options, with poor results:
Application.ScreenUpdating
Gives me the speed, but all shapes get repainted when toggling the screen on. Result: blink!blink! etc...
LockWindowUpdate (some API)
Doesn't repaint when toggled off (=good!) but is much slower than .ScreenUpdating.
I'm looking for some code (API?) that gives me the speed of .ScreenUpdating without the repaint.
Any ideas?
Gijs
I'm building a 3D first person shooter in Excel at the moment, using autoshapes to draw the environment background (ground, air) and objects (buildings, bad guys, shadows). To get the framerate smooth, i have tried several options, with poor results:
Application.ScreenUpdating
Gives me the speed, but all shapes get repainted when toggling the screen on. Result: blink!blink! etc...
LockWindowUpdate (some API)
Doesn't repaint when toggled off (=good!) but is much slower than .ScreenUpdating.
I'm looking for some code (API?) that gives me the speed of .ScreenUpdating without the repaint.
Any ideas?
Gijs