Fix camera zone lock bounds

This commit is contained in:
2026-06-09 14:35:06 +08:00
parent 3a56db3dc7
commit 493b2bd3b8
5 changed files with 15 additions and 6 deletions
+3 -3
View File
@@ -112,17 +112,17 @@ LevelDefinition CreateWhiteboxLevel() {
level.battleZones = {
{"zone_01_intro",
frostbite2D::Rect(520.0f, 260.0f, 560.0f, 340.0f),
frostbite2D::Rect(320.0f, 0.0f, 760.0f, 720.0f),
frostbite2D::Rect(320.0f, 0.0f, 1280.0f, 720.0f),
{{"zone_01_enemy_a", frostbite2D::Vec2(760.0f, 560.0f)},
{"zone_01_enemy_b", frostbite2D::Vec2(980.0f, 560.0f)}}},
{"zone_02_platform",
frostbite2D::Rect(1420.0f, 250.0f, 680.0f, 350.0f),
frostbite2D::Rect(1280.0f, 0.0f, 900.0f, 720.0f),
frostbite2D::Rect(1280.0f, 0.0f, 1280.0f, 720.0f),
{{"zone_02_enemy_a", frostbite2D::Vec2(1620.0f, 560.0f)},
{"zone_02_enemy_b", frostbite2D::Vec2(1900.0f, 560.0f)}}},
{"zone_03_exit",
frostbite2D::Rect(2380.0f, 250.0f, 720.0f, 350.0f),
frostbite2D::Rect(2240.0f, 0.0f, 960.0f, 720.0f),
frostbite2D::Rect(1920.0f, 0.0f, 1280.0f, 720.0f),
{{"zone_03_enemy_a", frostbite2D::Vec2(2580.0f, 560.0f)},
{"zone_03_enemy_b", frostbite2D::Vec2(2860.0f, 560.0f)}}},
};