love.timer.sleep( ms )
Delays execution for the specified amount of milliseconds. Tragically,
the precision varies from system to system, and is generally not very good.
Do not expect to get better precision than the nearest 10ms.
Usage
love.timer.sleep( ms )
Arguments
msThe amount of milliseconds.
Returns
Nothing
Examples
Example 1: Saving CPU time by sleeping.
function update(dt)
mygame:do_stuff()
-- Sleep 10 ms.
love.timer.sleep(10)
end