Documentation
Introduction
Getting Started
Game Distribution
Config Files
License
Documentation Guide
Modules
love
love.audio
love.event
love.filesystem
love.graphics
love.image
love.joystick
love.keyboard
love.mouse
love.physics
love.sound
love.timer
Callbacks
love.joystickreleased
love.joystickpressed
love.load
love.update
love.draw
love.keypressed
love.keyreleased
love.mousepressed
love.mousereleased
love.run
Edit
Module
love.timer
Provides an interface to the user's clock.
Functions
getDelta( )
Returns the time between the last two frames.
getFPS( )
Returns the current frames per second.
getMicroTime( )
Returns the amount of time passed since an unspecified time. The time is accurate to the microsecond, and is limited to 24 hours.
getTime( )
Returns the amount of time since some time in the past.
sleep( ms )
Sleeps the program for the specified amount of time.
step( )
Measures the time between two frames.
Copyright © 2006-2010 LÖVE Development Team.
Visit Homepage
–
Ask a Question