love.timer.step

Measures the time between two frames. Calling this changes the return value of love.timer.getDelta.

Function

Synopsis

love.timer.step( )

Arguments

None.

Returns

Nothing.

Function

Available since LÖVE 11.0
This variant is not supported in earlier versions.

Synopsis

dt = love.timer.step( )

Arguments

None.

Returns

number dt
The time passed (in seconds).

See Also


Other Languages