love.timer

Provides an interface to the user's clock.

Functions

love.timer.getDelta Returns the time between the last two frames.
love.timer.getFPS Returns the current frames per second.
love.timer.getMicroTime Returns the amount of time passed since an unspecified time. The time is accurate to the microsecond, and is limited to 24 hours.
love.timer.getTime Returns the amount of time since some time in the past.
love.timer.sleep Sleeps the program for the specified amount of time.
love.timer.step Measures the time between two frames.

See Also


Other Languages

Personal tools