[gd_scene load_steps=13 format=3 uid="uid://bf1kqr3o6r6d4"]

[ext_resource type="Script" uid="uid://doxmbokehw8ci" path="res://Scripts/GameManager.cs" id="1_wbqvu"]
[ext_resource type="PackedScene" uid="uid://c4pr2707hbeph" path="res://Scenes/Actors/fsm_player.tscn" id="2_3fyis"]
[ext_resource type="Resource" uid="uid://6ek4lmtuij4t" path="res://Resources/Maps/Roguelite.tres" id="2_k5t51"]
[ext_resource type="Script" uid="uid://bt2qjgnf1wc2r" path="res://Scripts/Controllers/RogueliteRoomManager.cs" id="4_jtlua"]
[ext_resource type="PackedScene" uid="uid://bmif3jo03yuol" path="res://Scenes/camera_controller.tscn" id="6_gwtv6"]
[ext_resource type="Script" uid="uid://c5nxsq3tyxcx6" path="res://Scripts/InventoryManager.cs" id="9_vhvs2"]
[ext_resource type="Script" uid="uid://upq0b4sx7nhw" path="res://Scripts/Misc/CameraTarget.cs" id="9_wbqvu"]
[ext_resource type="PackedScene" uid="uid://dkwi1hu1bixoe" path="res://Scenes/HUD/HUD.tscn" id="10_6gk3e"]
[ext_resource type="Script" uid="uid://cnkipcolyj61w" path="res://Scripts/AlarmManager.cs" id="12_eoca5"]
[ext_resource type="PackedScene" uid="uid://b3tyacxxw88lx" path="res://Scenes/Utils/StreamPlayerWithName.tscn" id="13_4n7t6"]
[ext_resource type="Script" uid="uid://3v6q0p5krqn7" path="res://Scripts/UI/Minimap.cs" id="16_pfafs"]
[ext_resource type="Resource" uid="uid://cw6868vuvuynh" path="res://Resources/RogueliteMaps/Factory_Theme.tres" id="25_7gtqx"]

[node name="GameScene" type="Node2D"]
process_mode = 3
script = ExtResource("1_wbqvu")
MapResource = ExtResource("2_k5t51")
PlayerTemplate = ExtResource("2_3fyis")
SpawnMarkers = Dictionary[int, NodePath]({
0: NodePath("PlayerStartPosition")
})

[node name="Maps" type="Node2D" parent="." groups=["navigation_polygon_source_geometry_group"]]
process_mode = 1
y_sort_enabled = true
script = ExtResource("4_jtlua")
MapThemes = Array[Object]([ExtResource("25_7gtqx")])
ManualSeed = "3284405524142660119"

[node name="CameraController" parent="." instance=ExtResource("6_gwtv6")]

[node name="ReferenceRect" type="ReferenceRect" parent="."]
visible = false
offset_left = -38.0
offset_top = -39.0
offset_right = 124.0
offset_bottom = 44.0

[node name="InventoryManager" type="Node2D" parent="."]
script = ExtResource("9_vhvs2")

[node name="HUD" parent="." instance=ExtResource("10_6gk3e")]

[node name="CameraTarget" type="Node2D" parent="."]
position = Vector2(154, 103)
script = ExtResource("9_wbqvu")

[node name="PlayerStartPosition" type="Marker2D" parent="."]
position = Vector2(150, 80)

[node name="AlarmManager" type="Node2D" parent="."]
process_mode = 1
script = ExtResource("12_eoca5")

[node name="AudioStreamPlayer2D" parent="." instance=ExtResource("13_4n7t6")]
process_mode = 3
autoplay = true

[node name="Minimap" type="CanvasLayer" parent="." node_paths=PackedStringArray("RoomManager")]
script = ExtResource("16_pfafs")
RoomManager = NodePath("../Maps")
CellSize = 4

[connection signal="ManagerReady" from="." to="Maps" method="InitSpawning"]
