aboutsummaryrefslogtreecommitdiff
path: root/game/mainmenu/MainMenuConfig.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-03 21:02:48 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-03 21:02:48 +0100
commit5ae4e3f0e3ff1d111eaea54b7b0a0788203d9d72 (patch)
treeabd7e7965eaff19c76daecb8a3f4514106562a09 /game/mainmenu/MainMenuConfig.h
parent209957a36c19968292032ead5974a695b22ffceb (diff)
bug fix
Diffstat (limited to 'game/mainmenu/MainMenuConfig.h')
-rw-r--r--game/mainmenu/MainMenuConfig.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/game/mainmenu/MainMenuConfig.h b/game/mainmenu/MainMenuConfig.h
index 9dbb838..99d29e8 100644
--- a/game/mainmenu/MainMenuConfig.h
+++ b/game/mainmenu/MainMenuConfig.h
@@ -9,9 +9,14 @@ struct MainMenuConfig {
static constexpr const char* CAMERA_NAME = "camera";
//main menu config
static constexpr float STARTMAP_OFFSET = 50;
- static constexpr crepe::vec2 MENU_OFFSET = {-400,-200};
+ static constexpr crepe::vec2 MENU_OFFSET = {0,0};
static constexpr float MENU_BUTTON_SPACING = 10;
- static constexpr crepe::vec2 MENU_OFFSET_BACKGROUND = {0,200};
+ static constexpr const char* MENU_BUTTON_NAME = "menu_button_background";
+ static constexpr crepe::vec2 MENU_OFFSET_BUTTON = {-400,-200};
+ static constexpr crepe::vec2 MENU_OFFSET_BUTTON_BACKGROUND = {-400,0};
+ static constexpr const char* MENU_INFO_TAG = "menu_info";
+ static constexpr crepe::vec2 MENU_OFFSET_INFO = {350,-365};
+ static constexpr crepe::vec2 MENU_OFFSET_INFO_BACKGROUND = {350,-365}; //375
//Scene names
static constexpr const char* START_SCENE = "scene1";
static constexpr const char* PREVIEW_SCENE = "scene1";
@@ -22,6 +27,7 @@ struct MainMenuConfig {
static constexpr float END = 300;
static constexpr float VELOCITY_MAX = 200;
static constexpr float VELOCITY_STEP = 200;
+ static constexpr float VELOCITY_INFO_UP = 30;
//button config
static constexpr const char* FONT = "Jetpackia";
static constexpr crepe::vec2 FONTOFFSET = {0,0};
@@ -30,5 +36,7 @@ struct MainMenuConfig {
static constexpr crepe::vec2 SMALL_OVERLAY_SIZE_LEFT = {50,100};
static constexpr crepe::vec2 SIDE_PANEL_SIZE = {50,150};
static constexpr crepe::vec2 ICON_SIZE = {50,50};
+ //total coins (move to main config)
+ static constexpr const char* TOTAL_COINS = "total_coins";
};