[gd_scene load_steps=9 format=3 uid="uid://eoydwrunmm5n"]

[ext_resource type="Script" path="res://script/manager/game_manager.gd" id="1_q2t80"]
[ext_resource type="Script" path="res://script/manager/level_manager.gd" id="2_ewhkj"]
[ext_resource type="Script" path="res://script/manager/character_manager.gd" id="4_oonkb"]
[ext_resource type="Script" path="res://script/manager/camera_manager.gd" id="4_yqiun"]
[ext_resource type="Script" path="res://script/editor_tool/editor_tool.gd" id="5_n3qhi"]
[ext_resource type="PackedScene" uid="uid://cc525u8auypjf" path="res://scene/ui/profile_screen.tscn" id="6_u1fxn"]
[ext_resource type="PackedScene" uid="uid://126wph4owvoy" path="res://scene/ui/hud_screen.tscn" id="7_gx646"]
[ext_resource type="Script" path="res://script/manager/effect_manager.gd" id="8_0jv87"]

[node name="Root" type="Node3D"]

[node name="GameManager" type="Node3D" parent="."]
script = ExtResource("1_q2t80")

[node name="Stage" type="SubViewportContainer" parent="GameManager"]
offset_top = -74.558
offset_right = 640.0
offset_bottom = 285.442
scale = Vector2(1, 1.414)
stretch = true

[node name="SubViewport" type="SubViewport" parent="GameManager/Stage"]
handle_input_locally = false
snap_2d_vertices_to_pixel = true
canvas_item_default_texture_filter = 0
positional_shadow_atlas_16_bits = false
size = Vector2i(640, 360)
render_target_update_mode = 4

[node name="LevelManager" type="Node3D" parent="GameManager/Stage/SubViewport"]
script = ExtResource("2_ewhkj")

[node name="CameraManager" type="Camera3D" parent="GameManager/Stage/SubViewport"]
transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 4.01178, 2.85449)
projection = 1
current = true
size = 7.2
frustum_offset = Vector2(2, 0)
far = 20.0
script = ExtResource("4_yqiun")

[node name="CharacterManager" type="Node3D" parent="GameManager/Stage/SubViewport"]
script = ExtResource("4_oonkb")

[node name="EffectManager" type="Node3D" parent="GameManager/Stage/SubViewport"]
script = ExtResource("8_0jv87")

[node name="UIManager" type="Node3D" parent="GameManager"]

[node name="ProfileScreen" parent="GameManager/UIManager" instance=ExtResource("6_u1fxn")]

[node name="HudScreen" parent="GameManager/UIManager" instance=ExtResource("7_gx646")]

[node name="EditorTool" type="Node3D" parent="."]
script = ExtResource("5_n3qhi")

[connection signal="item_rect_changed" from="GameManager/Stage" to="GameManager/Stage" method="_on_item_rect_changed"]
