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

[ext_resource type="PackedScene" uid="uid://ncgwx0yjn2gt" path="res://scenes/player.tscn" id="1_kiokp"]
[ext_resource type="Texture2D" uid="uid://de8ehypelmgbq" path="res://assets/enviroment/turquoise_room.png" id="2_2diqr"]
[ext_resource type="Script" uid="uid://dr2icqss6nekh" path="res://scripts/room_spawn.gd" id="3_2diqr"]
[ext_resource type="Script" uid="uid://beuumo3n5tycr" path="res://scripts/wave_node.gd" id="4_o7h1l"]
[ext_resource type="Script" uid="uid://dm2ayvfebi7x5" path="res://scripts/spawner.gd" id="5_rwd0d"]
[ext_resource type="PackedScene" uid="uid://dvlr5hamruqrd" path="res://scenes/enemy_base.tscn" id="6_hgrhv"]
[ext_resource type="PackedScene" uid="uid://ya6jfltqnl1b" path="res://scenes/heart_enemy.tscn" id="7_rwd0d"]

[sub_resource type="NavigationPolygon" id="NavigationPolygon_kiokp"]
vertices = PackedVector2Array(1047.2266, 532.96094, -122.703125, 542.90625, -121.78125, 510.84375, 1503.8984, 529.0781, 1429, 529.71875, 1373.5391, -529.8828, 1494.0938, -530.90625, 212.04688, -241.00781, 382.3672, -241.82813, 646.78906, 97.89844, 480.7422, 102.27344, 136.10938, 6.46875, 134.04688, -165.79688, 489.72656, 447.0703, -29.859375, 450.92188, -24.117188, 9.7421875, 79.32031, 9.5390625, 79.24219, 6.9921875, -97.74219, -138.49219, -115.671875, 298.25, -92.27344, -517.0781, 62.929688, -518.4297, 78.52344, -16, -86.703125, -143.64063, 893.8906, -419.96094, 918.4375, -402.72656, 891.09375, -401.96094, 635.8828, -417.10156, 737.0781, 95.53906, 474.14844, -242.27344, 633.8906, -243.04688, 905.02344, 91.140625, 1291.8203, -75, 1043.1328, -75, 1036.0313, -326.1328, 1287.1797, -332.72656)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2), PackedInt32Array(3, 4, 5, 6), PackedInt32Array(7, 8, 9, 10, 11, 12), PackedInt32Array(10, 13, 14, 15, 16), PackedInt32Array(15, 17, 16), PackedInt32Array(10, 16, 11), PackedInt32Array(18, 19, 20), PackedInt32Array(21, 22, 23, 20), PackedInt32Array(23, 18, 20), PackedInt32Array(24, 25, 26, 27), PackedInt32Array(28, 29, 30, 31), PackedInt32Array(30, 27, 26, 31), PackedInt32Array(32, 33, 34, 35)])
outlines = Array[PackedVector2Array]([PackedVector2Array(-102, -527, 1504, -541, 1514, 539, -133, 553)])

[sub_resource type="RectangleShape2D" id="RectangleShape2D_kiokp"]
size = Vector2(486.032, 52.7081)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_2diqr"]
size = Vector2(486.88434, 122.73932)

[node name="World2" type="Node2D" unique_id=219609187]

[node name="TurquoiseRoom" type="Sprite2D" parent="." unique_id=1018129227]
z_index = -1
position = Vector2(622, -86)
texture = ExtResource("2_2diqr")

[node name="Player" parent="." unique_id=1743724931 instance=ExtResource("1_kiokp")]
position = Vector2(156, 163)

[node name="NavigationRegion2D" type="NavigationRegion2D" parent="." unique_id=1469638376]
navigation_polygon = SubResource("NavigationPolygon_kiokp")

[node name="StaticBody2D" type="StaticBody2D" parent="NavigationRegion2D" unique_id=669042548]

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="NavigationRegion2D/StaticBody2D" unique_id=1174976426]
polygon = PackedVector2Array(79, -3, -34, 0, -40, 461, 500, 457, 491, 112, 911, 101, 1042, -65, 1302, -65, 1297, -343, 1031, -336, 897, -430, 626, -427, 624, -253, 208, -251, 124, -170, 126, -3, 89, -1, 72, -549, 1364, -521, 1419, 530, -114, 501, -88, -132)

[node name="StaticBody2D2" type="StaticBody2D" parent="NavigationRegion2D" unique_id=1925879962]
collision_layer = 8

[node name="CollisionShape2D" type="CollisionShape2D" parent="NavigationRegion2D/StaticBody2D2" unique_id=114451581]
position = Vector2(557.5386, -75.96382)
rotation = 0.9094325
shape = SubResource("RectangleShape2D_kiokp")

[node name="StaticBody2D3" type="StaticBody2D" parent="NavigationRegion2D" unique_id=260629622]
collision_layer = 8

[node name="CollisionShape2D" type="CollisionShape2D" parent="NavigationRegion2D/StaticBody2D3" unique_id=783263591]
position = Vector2(969.5878, -150.63795)
rotation = 1.5425601
shape = SubResource("RectangleShape2D_2diqr")

[node name="RoomSpawn" type="Area2D" parent="." unique_id=624711405]
collision_mask = 3
script = ExtResource("3_2diqr")
metadata/_custom_type_script = "uid://dr2icqss6nekh"

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="RoomSpawn" unique_id=1656193736]
polygon = PackedVector2Array(130, -3, 580, 93, 899, 98, 899, -418, 117, -176)

[node name="WaveNode" type="Node2D" parent="RoomSpawn" unique_id=748675639]
script = ExtResource("4_o7h1l")
metadata/_custom_type_script = "uid://beuumo3n5tycr"

[node name="Spawner" type="Marker2D" parent="RoomSpawn/WaveNode" unique_id=1018314094]
position = Vector2(259, -69)
script = ExtResource("5_rwd0d")
spawn_instance = ExtResource("6_hgrhv")
metadata/_custom_type_script = "uid://dm2ayvfebi7x5"

[node name="Spawner2" type="Marker2D" parent="RoomSpawn/WaveNode" unique_id=1808813106]
position = Vector2(468, -49)
script = ExtResource("5_rwd0d")
spawn_instance = ExtResource("6_hgrhv")
metadata/_custom_type_script = "uid://dm2ayvfebi7x5"

[node name="Spawner3" type="Marker2D" parent="RoomSpawn/WaveNode" unique_id=533329493]
position = Vector2(713, -219)
script = ExtResource("5_rwd0d")
spawn_instance = ExtResource("6_hgrhv")
metadata/_custom_type_script = "uid://dm2ayvfebi7x5"

[node name="Spawner4" type="Marker2D" parent="RoomSpawn/WaveNode" unique_id=1288062944]
position = Vector2(835, -140)
script = ExtResource("5_rwd0d")
spawn_instance = ExtResource("7_rwd0d")
metadata/_custom_type_script = "uid://dm2ayvfebi7x5"

[node name="WaveNode2" type="Node2D" parent="RoomSpawn" unique_id=787447092]
script = ExtResource("4_o7h1l")
metadata/_custom_type_script = "uid://beuumo3n5tycr"

[node name="Spawner" type="Marker2D" parent="RoomSpawn/WaveNode2" unique_id=1482319996]
position = Vector2(373, -139)
script = ExtResource("5_rwd0d")
spawn_instance = ExtResource("6_hgrhv")
metadata/_custom_type_script = "uid://dm2ayvfebi7x5"

[node name="Spawner4" type="Marker2D" parent="RoomSpawn/WaveNode2" unique_id=792445265]
position = Vector2(373, -139)
script = ExtResource("5_rwd0d")
spawn_instance = ExtResource("6_hgrhv")
metadata/_custom_type_script = "uid://dm2ayvfebi7x5"

[node name="Spawner2" type="Marker2D" parent="RoomSpawn/WaveNode2" unique_id=563517414]
position = Vector2(402, -1)
script = ExtResource("5_rwd0d")
spawn_instance = ExtResource("6_hgrhv")
metadata/_custom_type_script = "uid://dm2ayvfebi7x5"

[node name="Spawner3" type="Marker2D" parent="RoomSpawn/WaveNode2" unique_id=167921925]
position = Vector2(796, -282)
script = ExtResource("5_rwd0d")
spawn_instance = ExtResource("6_hgrhv")
metadata/_custom_type_script = "uid://dm2ayvfebi7x5"
