Next: , Previous: Path options, Up: Reference


4.5 Graphics options

4.5.1 fullscreen

— Command-line option: --fullscreen=<value>
— Environment variable: LW6_FULLSCREEN
— XML key: fullscreen

Type: boolean.

Default value: false.

Force the game to fun fullscreen. Note that the graphics backend might ignore this hint.

4.5.2 gfx-backend

— Command-line option: --gfx-backend=<value>
— Environment variable: LW6_GFX_BACKEND
— XML key: gfx-backend

Type: string.

Default value: gl.

Sets the graphics backend AKA 'gfx' to use. For now the only choice is 'gl' and will use an OpenGL/SDL 3D-accelerated driver.

4.5.3 height

— Command-line option: --height=<value>
— Environment variable: LW6_HEIGHT
— XML key: height

Type: integer.

Default value: -1.

Run the game with the given screen height.Note that the graphics backend might ignore this hint. Use with its companion option 'width'. A negative value will force the use of a default value.

4.5.4 width

— Command-line option: --width=<value>
— Environment variable: LW6_WIDTH
— XML key: width

Type: integer.

Default value: -1.

Run the game with the given screen width. Note that the graphics backend might ignore this hint. Use with its companion option 'height'.A negative value will force the use of a default value.

4.5.5 windowed-mode-limit

— Command-line option: --windowed-mode-limit=<value>
— Environment variable: LW6_WINDOWED_MODE_LIMIT
— XML key: windowed-mode-limit

Type: float.

Default value: 0.95.

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.