GameTime
GameTime

Returns the time (in milliseconds) since the game started.

time = myTime.GameTime( )

Return value
The time in milliseconds.

Comments

When comparing the current time, it is recomended to use GameTimeIs(n) instead of GameTime() == n, as GameTimeIs includes checks which ensure that the time is never missed due to refresh rate. GameTime() == n will rarely return true, as the system clock used usually increments in 15 - 17 millisecond intervals.

See also
Time:GameTimeIs
Time:GameTimeOver
Time:GameTimeUnder
Time:GameTimeBetween



JAM © 2005 no one in partiular
Project started by David Evans in 2005