Oxygen Basic
Programming => Example Code => Topic started by: Peter on October 14, 2011, 01:07:55 PM
-
Deleted
-
Hi Peter,
Do you have a new window.h? - Missing plgblt
-
Thanks Peter,
I think you may be hitting the speed limit for CPU pixel graphics with this example. The frame rate appears to be quite slow when the book opens - 15fps?.
Small correction: BmpW and BmpH should be BmpWidth and BmpHeight to match window.h.
I like your transparent examples. Are you planning a game with interdimensional craft :)
Charles
-
Hi Peter.
It may be some kind of sync problem that prevents the animation from running smoothly.
This is where Opengl is advantageous. It can animate many obects and surfaces at the same time. Drawing lists can be glCompiled to run entirely in the graphics hardware. The CPU only has to calculate the position, scale and rotation.
Charles
-
That one work smoothly Peter.
Interesting function:
http://msdn.microsoft.com/en-us/library/dd162804(v=vs.85).aspx