Map size and camera bounds

This commit is contained in:
gamer147
2026-04-07 07:41:43 -04:00
parent b086c7d181
commit 344efee7b4
4 changed files with 16 additions and 0 deletions

View File

@@ -28,8 +28,10 @@ func _ready() -> void:
layout.rooms = [room_a, room_b]
# Opening between (2,1) in room_a and (3,1) in room_b
layout.openings = [Vector2i(2, 1), Vector2i(3, 1)]
layout.size = Vector2i(6, 3)
combat_map.apply_layout(layout)
camera.set_map_bounds(combat_map.get_map_rect())
# -- End test room layout --
player_controller.combat_requested.connect(_on_combat_requested)