TBM_Move
This command will move an object the given amount of units in one millisecond.
Returns float = TBM_Move( Units )
Units Value
Float
The Units value is the number of units an object will move per millisecond.
This value is a number such as 0.5.
This command returns the value the object must move.
This command will move an object the given amount of units per millesecond.
TBM_Move(100) will move an object 100 units every 1 millisecond.
// Call this command so that the timer based movement
// can adjust to the speed of the computer.
TBM_Initialize
// Main Loop
Do
// Clear the screen
CLS
// Move Line 100 units per second
inc X#,TBM_Move(100)
Line X#,0,X#,Screen Height()
// Dispite how long you wait, the line will
// always move at the same speed.
wait rnd(10)/10
//update timer based movement
TBM_Update
Loop
Timer Based Movement Commands Menu
ShaunRW`s Commands