Config Files | Game configuration settings. |
love.audiodisconnected | Called when the active audio device is disconnected. |
love.directorydropped | Callback function triggered when a directory is dragged and dropped onto the window. |
love.displayrotated | Called when the device display orientation changed. |
love.draw | Callback function used to draw on the screen every frame. |
love.errhand | The error handler, used to display error messages. |
love.errorhandler | The error handler, used to display error messages. |
love.filedropped | Callback function triggered when a file is dragged and dropped onto the window. |
love.focus | Callback function triggered when window receives or loses focus. |
love.gamepadaxis | Called when a Joystick's virtual gamepad axis is moved. |
love.gamepadpressed | Called when a Joystick's virtual gamepad button is pressed. |
love.gamepadreleased | Called when a Joystick's virtual gamepad button is released. |
love.joystickadded | Called when a Joystick is connected. |
love.joystickaxis | Called when a joystick axis moves. |
love.joystickhat | Called when a joystick hat direction changes. |
love.joystickpressed | Called when a joystick button is pressed. |
love.joystickreleased | Called when a joystick button is released. |
love.joystickremoved | Called when a Joystick is disconnected. |
love.joysticksensorupdated | Called when a Joystick's sensor is updated with new values. |
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.localechanged | Callback function triggered when the user's system locale preferences have changed. |
love.lowmemory | Callback function triggered when the system is running out of memory on mobile devices. |
love.mousefocus | Callback function triggered when window receives or loses mouse focus. |
love.mousemoved | Callback function triggered when the mouse is moved. |
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.resize | Called when the window is resized. |
love.run | The main function, containing the main loop. A sensible default is used when left out. |
love.sensorupdated | Called when the in-device sensor is updated. |
love.textedited | Called when the candidate text for an IME has changed. |
love.textinput | Called when text has been entered by the user. |
love.threaderror | Callback function triggered when a Thread encounters an error. |
love.touchmoved | Callback function triggered when a touch press moves inside the touch screen. |
love.touchpressed | Callback function triggered when the touch screen is touched. |
love.touchreleased | Callback function triggered when the touch screen stops being touched. |
love.update | Callback function used to update the state of the game every frame. |
love.visible | Callback function triggered when window is shown or hidden. |
love.wheelmoved | Callback function triggered when the mouse wheel is moved. |