diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-20 17:07:17 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-20 17:07:17 +0100 |
commit | 5a2f6a14803885b7c53bab7d43208476d2e1bd5b (patch) | |
tree | 4ae6e6e3e12babb9a8f1c2ed6e5a880e518e21b7 /game/mainmenu/MainMenuScene.cpp | |
parent | 667ed9ac9b1e51ef87a5a0bca25566f39f087671 (diff) |
added text to btn
Diffstat (limited to 'game/mainmenu/MainMenuScene.cpp')
-rw-r--r-- | game/mainmenu/MainMenuScene.cpp | 5 |
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); |