If anyone cares, here is Wave's DeltaTime code, documented a bit more concisely (in my opinion):
Type Delta 'Delta Time code provided by Truplos@.... Global DeltaTime# Global TimeDelay% Function Start() 'Call Delta.Start() before main loop TimeDelay = MilliSecs() End Function Function Time#() 'EXAMPLE: 'use this: Speed:+ 10*Delta.Time() 'instead of this: Speed:+ 10 'A value of 10 now means 10 per second! Not 10 per frame! 'Note: Variables (speed in this example) that get multiplied by Delta.Time() MUST be declared as a float! Return DeltaTime# End Function Function Update() 'Call Delta.Update() once in the main loop. DeltaTime = ( MilliSecs()- TimeDelay )*0.001 TimeDelay = MilliSecs() EndFunction End Type