Timers

Blitz3D Forums/Blitz3D Programming/Timers

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.

As tonyg says.

Example from the docs:
; Create the timer to track speed
frameTimer=CreateTimer(60)

; Your main screen draw loop
While Not KeyHit(1)
WaitTimer(frameTimer) ; Pause until the timer reaches 60
Cls
; Draw your screen stuff
Flip
Wend


You basically just plug the FPS (or any per-second amount) straight into CreateTimer(). I still don't see any problem.