love.timer

Provides an interface to your system's clock.

Functions

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.
love.timer.getTimeReturns the amount of time since some time in the past.
love.timer.sleepSleeps the program for the specified amount of time.Added since 0.2.1
love.timer.stepMeasures the time between two frames.

See Also


Other Languages

Personal tools