Timer...

Blitz3D Forums/Blitz3D Beginners Area/Timer...

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.

Not exactly. Millisecs() command returns ANY number between 0 and 2 billion (I think). You have to keep track of it yourself.

In your example you are storing the value returned by Millisecs() in Alarm. This is probably OK while your game loop is running but once it ends you may want to use a seperate variable to store the time that passed (because Millisecs() will keep incrementing).