Difference between revisions of "love"
Line 2: | Line 2: | ||
Clearly the loveliest module of all. | Clearly the loveliest module of all. | ||
== Modules == | == Modules == | ||
− | {{#ask: [[Category:Modules]] [[parent::love]] | + | {{#ask: [[Category:Modules]] [[parent::love]] [[Since::<071]] |
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
}} | }} | ||
== Types == | == Types == | ||
− | {{#ask: [[Category:Types]] [[parent::love]] | + | {{#ask: [[Category:Types]] [[parent::love]] [[Since::<071]] |
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
}} | }} | ||
== Callbacks == | == Callbacks == | ||
− | {{#ask: [[Category:Callbacks]] [[parent::love]] | + | {{#ask: [[Category:Callbacks]] [[parent::love]] [[Since::<071]] |
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
}} | }} | ||
[[Category:Modules]] | [[Category:Modules]] | ||
− | {{#set:Description=The root module which contains all the other modules. | + | {{#set:Description=The root module which contains all the other modules.}} |
− | }} | + | {{#set:Since=000}} |
== Other Languages == | == Other Languages == | ||
{{i18n|love}} | {{i18n|love}} |
Revision as of 18:05, 25 March 2011
The root module which contains all the other modules. Clearly the loveliest module of all.
Contents
Modules
love.audio | Provides of audio interface for playback/recording sound. |
love.event | Manages events, like keypresses. |
love.filesystem | Provides an interface to the user's filesystem. |
love.font | Allows you to work with fonts. |
love.graphics | Drawing of shapes and images, management of screen geometry. |
love.image | Provides an interface to decode encoded image data. |
love.joystick | Provides an interface to connected joysticks. |
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.thread | Allows you to work with threads. |
love.timer | Provides high-resolution timing functionality. |
Types
Data | The superclass of all data. |
Object | The superclass of all LÖVE types. |
Variant | The types supported by love.thread and love.event. |
Callbacks
Config Files | Game configuration settings. |
love.draw | Callback function used to draw on the screen every frame. |
love.errhand | The error handler, used to display error messages. |
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 keyboard 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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info