diff options
Diffstat (limited to 'game/Config.h')
-rw-r--r-- | game/Config.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/game/Config.h b/game/Config.h index d6f8349..81dd7ea 100644 --- a/game/Config.h +++ b/game/Config.h @@ -1,4 +1,5 @@ #pragma once +#include "types.h" static constexpr int SORT_IN_LAY_BACK_BACKGROUND = 3; // For all scenes static constexpr int SORT_IN_LAY_BACKGROUND = 4; // For all scenes @@ -23,5 +24,23 @@ 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 +// Font settings +static constexpr const char* FONT = "Jetpackia"; +static constexpr crepe::vec2 FONTOFFSET = {0,0}; + +// Save data + +// Amount of coins in game +static constexpr const char* TOTAL_COINS_GAME = "total_coins_game"; + +// Amount of coins in current run +static constexpr const char* TOTAL_COINS_RUN = "total_coins_run"; + +// Distance +static constexpr const char* DISTANCE_GAME = "distance_game"; +static constexpr const char* DISTANCE_RUN = "distance_run"; + +// Global tags and names +static constexpr const char* PLAYER_NAME = "player"; static constexpr int PLAYER_SPEED = 7500; // In game units static constexpr int PLAYER_GRAVITY_SCALE = 60; // In game units |