lobby cam

This commit is contained in:
2026-08-27 21:34:18 +03:00
parent 170d8ff3f1
commit 32ac46f840
4 changed files with 23 additions and 3 deletions
+2
View File
@@ -5,6 +5,7 @@ extends Node3D
## previous module first, so no old mesh or collider can survive into the next fight.
@onready var _level_root: Node3D = $LevelRoot
@onready var _camera: IsoCamera = $Player/Camera3D
func _ready() -> void:
@@ -23,4 +24,5 @@ func load_active_level() -> void:
if level == null or level.level_scene == null:
push_warning("game_shell: active level has no level_scene")
return
_camera.set_framing_scale(level.camera_zoom)
_level_root.add_child(level.level_scene.instantiate())