Methods
DebugSystem:enterMenu(menu: any, soul: any, skip_history: any)
Arguments:
| menu: any | |
| soul: any | |
| skip_history: any |
DebugSystem:onMousePressed(x: any, y: any, button: any, istouch: any, presses: any)
Arguments:
| x: any | |
| y: any | |
| button: any | |
| istouch: any | |
| presses: any |
DebugSystem:onMouseReleased(x: any, y: any, button: any, istouch: any, presses: any)
Arguments:
| x: any | |
| y: any | |
| button: any | |
| istouch: any | |
| presses: any |
DebugSystem:printShadow(text: any, x: any, y: any, color: any, align: any, limit: any, sx: any, sy: any)
Arguments:
| text: any | |
| x: any | |
| y: any | |
| color: any | |
| align: any | |
| limit: any | |
| sx: any | |
| sy: any |
DebugSystem:registerConfigOption(menu: any, name: any, description: any, value: any, callback: any)
Arguments:
| menu: any | |
| name: any | |
| description: any | |
| value: any | |
| callback: any |
DebugSystem:registerOption(menu: string, name: string, description: string|fun()string, func: function, visible_func: (fun()boolean)?, color: fun(){ [1]? }?)
Arguments:
| menu: string | |
| name: string | |
| description: string|fun()string | |
| func: function | |
| visible_func: (fun()boolean)? | |
| color: fun(){ [1]? }? |
Returns:
| 1: nil |
Fields
DebugSystem.filtered_flags_list: string[]
A list of filtered flag keys that should show in the flags menu
DebugSystem.flag_filter_mode: string
The current flag filter mode
DebugSystem.flag_query: string }
The current flag filter query
DebugSystem.flag_type: string
The current flag filter setting for value type
DebugSystem.temp_flag_filter_mode: string
Temporary version of flag_filter_mode. Only set as filter once the settings are saved.
DebugSystem.temp_flag_query: string }
Temporary version of flag_query. Only set as filter once the settings are saved.
DebugSystem.temp_flag_type: string
Temporary version of flag_type. Only set as filter once the settings are saved.
Undocumented
DebugSystem.font: love.Font
Defines the shape of characters that can be drawn onto the screen.
DebugSystem.heart: Sprite
A simple object that renders a texture.
This texture must be placed inside assets/sprites/.
DebugSystem.playing_sound: nil
A Source represents audio you can play back.
You can do interesting things with Sources, like set the volume, pitch, and its position relative to the listener. Please note that positional audio only works for mono (i.e. non-stereo) sources.
The Source controls (play/pause/stop) act according to the following state table.
DebugSystem.state: string
States: IDLE, MENU, SELECTION, FACES