Using Delta time to get accurate frame timing for the updateworld command?

Blitz3D Forums/Blitz3D Programming/Using Delta time to get accurate frame timing for the updateworld command?

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.

For my spaceship-game/project I use delta time (primarily to keep the acceleration etc. in standard units, but also as I believe it will be important ffor the multiplayer version. The principle is the same as above:

DeltaT=(MilliSecs()-dt)/1000
dt=MilliSecs()