ArcBasicDocs

CreateTimer

Creates a timer ticking frequency times per second.

CreateTimer ( frequency )

Parameters

frequency
ticks per second, such as 60.

Description

Creates a timer that ticks a number of times a second, and gives back its handle. With WaitTimer in the main loop, a game runs at the same speed on every computer, as each frame waits for the next tick.

See also