lovr.system.openWindow
EditOpens the desktop window. If the window is already open, this function does nothing.
lovr.system.openWindow(options)Arguments
| Name | Type | Default | Description |
| options | table | Window options. | |
| .width | number | 720 | The width of the window, or 0 to use the width of the monitor. |
| .height | number | 800 | The height of the window, or 0 to use the height of the monitor. |
| .fullscreen | boolean | Whether the window should be fullscreen. | |
| .resizable | boolean | Whether the window should be resizable. | |
| .title | string | The window title. | |
| .icon | string |
An Image or path to an image file to use for the window icon.
|
Returns
Nothing
Notes
By default, the window is opened automatically, but this can be disabled by setting t.window to nil in conf.lua.