[gd_scene format=3 uid="uid://c3cpdpo8fcass"]

[ext_resource type="Script" path="res://addons/maaacks_game_template/base/nodes/utilities/pause_menu_controller.gd" id="1_78lb1"]
[ext_resource type="PackedScene" path="res://menus/scenes/windows/pause_menu_layer.tscn" id="2_fc12x"]
[ext_resource type="Script" path="res://addons/maaacks_game_template/extras/scripts/level_loader.gd" id="3_xinp6"]
[ext_resource type="Script" path="res://addons/maaacks_game_template/extras/scripts/level_manager.gd" id="4_8vrg7"]
[ext_resource type="PackedScene" path="res://menus/scenes/windows/game_won_window.tscn" id="5_5qwaf"]
[ext_resource type="PackedScene" path="res://menus/scenes/windows/level_lost_window.tscn" id="6_0tw8m"]
[ext_resource type="PackedScene" path="res://menus/scenes/windows/level_won_window.tscn" id="7_gpclb"]
[ext_resource type="Script" path="res://addons/maaacks_game_template/extras/scripts/scene_lister.gd" id="8_yl32o"]
[ext_resource type="Script" path="res://menus/scenes/game_scene/configurable_sub_viewport.gd" id="9_iioxl"]

[node name="GameUI" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="PauseMenuController" type="Node" parent="." node_paths=PackedStringArray("focused_viewport")]
script = ExtResource("1_78lb1")
pause_menu_packed = ExtResource("2_fc12x")
focused_viewport = NodePath("../ViewportContainer/ConfigurableSubViewport")

[node name="LevelLoader" type="Node" parent="." node_paths=PackedStringArray("level_container")]
script = ExtResource("3_xinp6")
level_container = NodePath("../ViewportContainer/ConfigurableSubViewport")

[node name="LevelManager" type="Node" parent="." node_paths=PackedStringArray("level_loader", "scene_lister")]
script = ExtResource("4_8vrg7")
level_loader = NodePath("../LevelLoader")
starting_level_path = "res://menus/scenes/game_scene/levels/level_1.tscn"
scene_lister = NodePath("SceneLister")
main_menu_scene_path = "res://menus/scenes/menus/main_menu/main_menu_with_animations.tscn"
ending_scene_path = "res://menus/scenes/end_credits/end_credits.tscn"
game_won_scene = ExtResource("5_5qwaf")
level_lost_scene = ExtResource("6_0tw8m")
level_won_scene = ExtResource("7_gpclb")

[node name="SceneLister" type="Node" parent="LevelManager"]
script = ExtResource("8_yl32o")
files = Array[String](["res://menus/scenes/game_scene/levels/level_1.tscn", "res://menus/scenes/game_scene/levels/level_2.tscn", "res://menus/scenes/game_scene/levels/level_3.tscn"])
directory = "res://menus/scenes/game_scene/levels"

[node name="ViewportContainer" type="SubViewportContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
stretch = true

[node name="ConfigurableSubViewport" type="SubViewport" parent="ViewportContainer"]
handle_input_locally = false
audio_listener_enable_2d = true
audio_listener_enable_3d = true
size = Vector2i(1280, 720)
render_target_update_mode = 4
script = ExtResource("9_iioxl")
