100% CPU use

Blitz3D Forums/Blitz3D Beginners Area/100% CPU use

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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