Next: Sound options, Previous: Path options, Up: Reference
--fullscreen=<value>
LW6_FULLSCREEN
fullscreen
Type: boolean.
Force the game to fun fullscreen. Note that the graphics backend might ignore this hint.
--gfx-backend=<value>
LW6_GFX_BACKEND
gfx-backend
Type: string.
Sets the graphics backend AKA 'gfx' to use. For now the only choice is 'gl' and will use an OpenGL/SDL 3D-accelerated driver.
--height=<value>
LW6_HEIGHT
height
Type: integer.
Run the game with the given screen height.Note that the graphics backend might ignore this hint.Use with its companion option 'width'.
--preset-resolution=<value>
LW6_PRESET_RESOLUTION
preset-resolution
Type: integer.
The last preset resolution used. 0 is low, 1 is medium, 2 is high. Real resolutions depend on your hardware, OS and drivers.
--width=<value>
LW6_WIDTH
width
Type: integer.
Run the game with the given screen width. Note that the graphics backend might ignore this hint.Use with its companion option 'height'.
--windowed-mode-limit=<value>
LW6_WINDOWED_MODE_LIMIT
windowed-mode-limit
Type: float.
When switching back from fullscreen mode to windowed mode, if we're in maximum resolution, then this coefficient will be applied before resizing the window. The idea is that (obviously) a windowed mode is prefered when a little smaller that totally fullscreen. So set this to a value just below 1.0.