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
The root module which contains all the other modules. Clearly the loveliest module of all.
Modules
love.audio
Provides an interface to create noise with the user's speakers.
love.event
Manages events, like keypresses.
love.filesystem
Provides an interface to the user's filesystem.
love.graphics
The graphics module.
love.image
Provides an interface to decode encoded image data.
love.joystick
Provides an interface to the user's joystick.
love.keyboard
Provides an interface to the user's keyboard.
love.mouse
Provides an interface to the user's mouse.
love.physics
Can simulate 2D rigid body physics in a realistic manner.
love.sound
This module is responsible for decoding sound files.
love.timer
Provides an interface to the user's clock.
Callbacks
love.joystickreleased( joystick, button )
Called when a joystick button is released.
love.joystickpressed( joystick, button )
Called when a joystick button is pressed.
love.load( )
This function is called exactly once at the beginning of the game.
love.update( dt )
Callback function used to update the state of the game every frame.
love.draw( )
Callback function used to draw on the screen every frame.
love.keypressed( key, unicode )
Callback function triggered when a key is pressed.
love.keyreleased( key )
Callback function triggered when a key is released.
love.mousepressed( x, y, button )
Callback function triggered when a mouse button is pressed.
love.mousereleased( x, y, button )
Callback function triggered when a mouse button is released.
love.run( )
The main function, containing the main loop. A sensible default is used when left out.
Types
Data
The superclass of all data.
Pages
Introduction
Getting Started
Game Distribution
Config Files
License
Documentation Guide
Copyright © 2006-2010 LÖVE Development Team.
Visit Homepage
–
Ask a Question