blitz3d is CPU killing :S

Blitz3D Forums/Blitz3D Beginners Area/blitz3d is CPU killing :S

Also check out http://www.purebasic.com/ for developing apps. It's probably a better choice than BlitzPlus at the moment.

For a Blitz3D map editor I'm working on, I use the system below to get CPU utilization down to below 0.5% when the program is idle.


; Example psuedocode.
---------------------------

Global do_update


Function check_for_control_input()

; If control input detected.
do_update = True

End Function


; Main program loop code.
If do_update

do_update = False

; Do UpdateWorld, RenderWorld, draw 2d graphics, do scheduled pick operations, etc.

Delay ( 1 )

Else

Delay ( 20 )

EndIf