love.timer

Provides an interface to your system's clock.

Functions

love.timer.getAverageDeltaReturns the average delta time over the last second.Added since 0.9.0
love.timer.getDeltaReturns the time between the last two frames.
love.timer.getFPSReturns the current frames per second.
love.timer.getMicroTimeReturns the value of a timer with microsecond precision. Removed in 0.9.0
love.timer.getTimeReturns the amount of time since some time in the past.
love.timer.sleepPauses the current thread for the specified amount of time.
love.timer.stepMeasures the time between two frames.

See Also


Other Languages

Personal tools