aboutsummaryrefslogtreecommitdiff
path: root/game/mainmenu/MainMenuScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/mainmenu/MainMenuScene.cpp')
-rw-r--r--game/mainmenu/MainMenuScene.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/game/mainmenu/MainMenuScene.cpp b/game/mainmenu/MainMenuScene.cpp
index 013eb2b..bc8ea86 100644
--- a/game/mainmenu/MainMenuScene.cpp
+++ b/game/mainmenu/MainMenuScene.cpp
@@ -8,7 +8,10 @@ using namespace std;
void MainMenuScene::load_scene(){
GameObject camera_object = this->new_object("camera");
- camera_object.add_component<Camera>(ivec2{500,500},vec2{500,500},Camera::Data{});
+ camera_object.add_component<Camera>(ivec2(990, 720), vec2(1100, 800),
+ Camera::Data{
+ .bg_color = Color::RED,
+ });
ButtonSubScene button;
button.create(*this);