I just recently noticed that the main game loop that displays the graphics and makes updates, cranks the CPU
use up to 100% which is logical, but I don't want it to run
at 100%. I lowered the speed of the loop by using something like:
a=createtimer(27)
while not keyhit(1)
waittimer (a)
wend
This works, but I still somehow get about 60%-80% CPU usage
but don't want to slow it down further because I don't want the FPS to drop below 27.
Any idea if it is possible to reduce CPU usage any further
without slowing the FPS or loop speed down with it?
thanks
use up to 100% which is logical, but I don't want it to run
at 100%. I lowered the speed of the loop by using something like:
a=createtimer(27)
while not keyhit(1)
waittimer (a)
wend
This works, but I still somehow get about 60%-80% CPU usage
but don't want to slow it down further because I don't want the FPS to drop below 27.
Any idea if it is possible to reduce CPU usage any further
without slowing the FPS or loop speed down with it?
thanks