aboutsummaryrefslogtreecommitdiff
path: root/game/Config.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-22 13:48:46 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-22 13:48:46 +0100
commit6a7e06f875d789af0e8f9b5ce0ad24b9eaa96d25 (patch)
tree07397ab46e2518fde4140777e2e181cde8ad938e /game/Config.h
parent296c80edd6727d6808ed0c98c001a8b456f1c037 (diff)
parent61148c757a1f742ff09e40e5347e74e638c7371c (diff)
Merge branch 'master' into niels/UI
Diffstat (limited to 'game/Config.h')
-rw-r--r--game/Config.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/game/Config.h b/game/Config.h
new file mode 100644
index 0000000..ec753df
--- /dev/null
+++ b/game/Config.h
@@ -0,0 +1,21 @@
+#pragma once
+
+static constexpr int SORT_IN_LAY_BACK_BACKGROUND = 3; // For all scenes
+static constexpr int SORT_IN_LAY_BACKGROUND = 4; // For all scenes
+static constexpr int SORT_IN_LAY_FORE_BACKGROUND = 5; // For all scenes
+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 COLL_LAY_BOT_TOP = 1; // Only for GameScene
+static constexpr int COLL_LAY_BOT_LOW = 2; // Only for GameScene
+static constexpr int COLL_LAY_BOT_HIGH = 3; // Only for GameScene
+static constexpr int COLL_LAY_PLAYER = 4; // Only for GameScene
+static constexpr int COLL_LAY_WALL_FRAGS = 5; // 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