0
0
mirror of https://github.com/Nimac0/SDL_Minigame synced 2026-01-12 07:53:43 +00:00
Nimac0 70080681e0
Some checks failed
/ deploy (push) Failing after 33s
Docs: Formatting and more content
2025-05-02 13:45:07 +02:00

678 B

Configuring the game

By either adding your own configuration .json file and overwriting its path in setConfigFilePath() found in Chickengame.cpp or editing configs/mainConfig.json you can configure some aspects of the game. These are:

  • fullscreen: bool to determine if you want your game to be displayed in fullscreen or not. Maintains the screen size set in screen_width and screen_height and stretches it out

  • screen_width: int, in pixels

  • screen_height: int, in pixels

  • title: string, the title of the game/the name displayed on the top left of the window

  • icon: string, path to the bitmap (.btm) you want to use as the app icon of your game