The root module which contains all the other modules.
Clearly the loveliest module of all.
Modules
Types
| Data |
The superclass of all data. |
| Object |
The superclass of all LÖVE types. |
Callbacks
| love.draw |
Callback function used to draw on the screen every frame. |
| love.focus |
Callback function triggered when window receives or loses focus. |
| love.joystickpressed |
Called when a joystick button is pressed. |
| love.joystickreleased |
Called when a joystick button is released. |
| love.keypressed |
Callback function triggered when a key is pressed. |
| love.keyreleased |
Callback function triggered when a key is released. |
| love.load |
This function is called exactly once at the beginning of the game. |
| love.mousepressed |
Callback function triggered when a mouse button is pressed. |
| love.mousereleased |
Callback function triggered when a mouse button is released. |
| love.quit |
Callback function triggered when the game is closed. |
| love.run |
The main function, containing the main loop. A sensible default is used when left out. |
| love.update |
Callback function used to update the state of the game every frame. |
Other Languages