GameRenderer
- GameRenderer
Contains the options of the GUI.
- YAML Key
GameRenderer
- Example
GameRenderer:
Resolution:
Width: 800
Height: 600
Default Assets:
FogOfWar: ../../assets/Tiles/notVisible.png
GridIsIsometric: true
TileSpriteOrigin:
Width: 128
Height: 112
EntitySpriteOrigin:
Width: 256
Height: 360
TileSpriteSize:
Width: 256
Height: 144
EntitySpriteSize:
Width: 512
Height: 512
#Optional:
#Font: ../../assets/arial.ttf
#OutlineShader: ../../assets/OutLine.frag
- Properties
Property |
Required |
Data type |
Options |
Definition |
|
|
|
Defines the window resolution. |
|
|
|
|
Defines the default assets. |
|
|
|
|
Path to the font used by the GUI. |
|
|
|
|
Path to the outlineshader used to outline the entities. |
|
|
|
|
Define if the world is isometric. |
|
|
|
|
Define the tile sprite origin. |
|
|
|
|
Define the entity sprite origin. |
|
|
|
|
Define the tile sprite size. |
|
|
|
|
Define the entity sprite size. |
Resolution
- Resolution
Contains the width and height of the GUI.
- YAML Key
Resolution
- Properties
Property |
Required |
Data type |
Options |
Definition |
|
|
|
Window width |
|
|
|
|
Window height |
Default Assets
- Default Assets
Contains the definitions of the FogOfWar used by GUI.
- YAML Key
Default assets
- Properties
Property |
Required |
Data type |
Options |
Definition |
|
|
|
Path to the selected sprite used to outline the entities |