aboutsummaryrefslogtreecommitdiff
path: root/game/hud/HudConfig.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-05 14:26:19 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-05 14:26:19 +0100
commitba170d00586ab261e015cc2febbb43f9aa7ae43e (patch)
tree4b902f20aa0b10a3ac04ec2c03f46ec3449558d1 /game/hud/HudConfig.h
parent5ae4e3f0e3ff1d111eaea54b7b0a0788203d9d72 (diff)
added hud
Diffstat (limited to 'game/hud/HudConfig.h')
-rw-r--r--game/hud/HudConfig.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/game/hud/HudConfig.h b/game/hud/HudConfig.h
new file mode 100644
index 0000000..91e3bfa
--- /dev/null
+++ b/game/hud/HudConfig.h
@@ -0,0 +1,28 @@
+#pragma once
+#include "types.h"
+
+static constexpr crepe::vec2 TOP_LEFT = {-500,-380};
+static constexpr const char* HUD_DISTANCE = "hud_distance";
+static constexpr const char* HUD_BEST = "hud_best";
+static constexpr const char* HUD_COINS = "hud_coins";
+
+// Distance
+static constexpr const char* DISTANCE_PLACEHOLDER = "0000m";
+static constexpr const char* DISTANCE_UNIT = "m";
+static constexpr int DISTANCE_LENGTH = 5;
+static constexpr float DISTANCE_WIDTH = 60;
+static constexpr float STEP_SIZE_DISTANCE = 100;
+
+// BEST
+static constexpr const char* BEST = "BEST:";
+static constexpr int BEST_LENGTH = 5;
+static constexpr float BEST_WIDTH = 40;
+static constexpr crepe::vec2 BEST_OFFSET = {0,25};
+
+// COINS
+static constexpr const char* COINS = "0000";
+static constexpr int COINS_LENGTH = 4;
+static constexpr float COINS_WIDTH = 40;
+static constexpr crepe::vec2 COINS_OFFSET = {0,50};
+
+ \ No newline at end of file