diff options
author | Max-001 <maxsmits21@kpnmail.nl> | 2024-12-21 11:52:48 +0100 |
---|---|---|
committer | Max-001 <maxsmits21@kpnmail.nl> | 2024-12-21 11:52:48 +0100 |
commit | e72dc913e7b35bcd2f6ba8107ea46e383afd25e1 (patch) | |
tree | af3a5303617e0b94e8163af0285b8834b2c6a860 /game/GameScene.cpp | |
parent | 799a376aeecd9bdc712e89324cbe9153206839c9 (diff) |
Added more to Config.h
Diffstat (limited to 'game/GameScene.cpp')
-rw-r--r-- | game/GameScene.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/game/GameScene.cpp b/game/GameScene.cpp index 9606244..db1a753 100644 --- a/game/GameScene.cpp +++ b/game/GameScene.cpp @@ -1,4 +1,5 @@ #include "GameScene.h" +#include "Config.h" #include "MoveCameraManualyScript.h" #include "PlayerSubScene.h" #include "StartGameScript.h" @@ -29,7 +30,7 @@ void GameScene::load_scene() { BackgroundSubScene background(*this); GameObject camera = new_object("camera", "camera", vec2(650, 0)); - camera.add_component<Camera>(ivec2(990, 720), vec2(1100, 800), + camera.add_component<Camera>(ivec2(990, 720), vec2(VIEWPORT_X, VIEWPORT_Y), Camera::Data{ .bg_color = Color::RED, }); |