diff options
author | Max-001 <maxsmits21@kpnmail.nl> | 2024-12-21 11:52:48 +0100 |
---|---|---|
committer | Max-001 <maxsmits21@kpnmail.nl> | 2024-12-21 11:52:48 +0100 |
commit | e72dc913e7b35bcd2f6ba8107ea46e383afd25e1 (patch) | |
tree | af3a5303617e0b94e8163af0285b8834b2c6a860 /game/Config.h | |
parent | 799a376aeecd9bdc712e89324cbe9153206839c9 (diff) |
Added more to Config.h
Diffstat (limited to 'game/Config.h')
-rw-r--r-- | game/Config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/game/Config.h b/game/Config.h index 0d6f880..7c16b47 100644 --- a/game/Config.h +++ b/game/Config.h @@ -7,3 +7,9 @@ static constexpr int SORT_IN_LAY_PARTICLES_BACKGROUND = 6; // For all scenes static constexpr int SORT_IN_LAY_OBSTACLES = 8; // Only for GameScene static constexpr int SORT_IN_LAY_PLAYER = 10; // Only for GameScene static constexpr int SORT_IN_LAY_PARTICLES_FOREGROUND = 15; // Only for GameScene + +static constexpr int GAME_HEIGHT = 800; // In game units + +static constexpr int VIEWPORT_X = 1100; // In game units +// 'GAME_HEIGHT' (below) should be replaced by '500' when game development is finished +static constexpr int VIEWPORT_Y = GAME_HEIGHT; // In game units |