[gd_scene load_steps=18 format=4 uid="uid://0qx3new8w34e"]

[ext_resource type="Texture2D" uid="uid://b86fd86n5sxtr" path="res://Assets/Sprites/world_tileset.png" id="1_073ra"]
[ext_resource type="PackedScene" uid="uid://j3d4u4gjxncu" path="res://Assets/Scenes/Persistant/LevelManager.tscn" id="1_epwsm"]
[ext_resource type="Script" uid="uid://b28bv2l2asbpy" path="res://Assets/Scripts/CommonScripts/ChangeMenuInitiator.cs" id="2_0o67k"]
[ext_resource type="PackedScene" uid="uid://dr8qdk10uy0o4" path="res://Assets/Scenes/Persistant/Player.tscn" id="2_yijc5"]
[ext_resource type="Script" uid="uid://ddyi5usr6poda" path="res://Assets/Scripts/CommonScripts/UI.cs" id="6_073ra"]
[ext_resource type="PackedScene" uid="uid://d0uyeoheppepk" path="res://Assets/Scenes/DialogueInteractable.tscn" id="6_b6w6i"]
[ext_resource type="PackedScene" uid="uid://btgikedw0lg47" path="res://Assets/Scenes/SlowField.tscn" id="11_epwsm"]

[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_e35rp"]
texture = ExtResource("1_073ra")
0:0/0 = 0
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
1:0/0 = 0
1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
2:0/0 = 0
3:0/0 = 0
4:0/0 = 0
5:0/0 = 0
6:0/0 = 0
7:0/0 = 0
8:0/0 = 0
9:0/0 = 0
9:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
10:0/0 = 0
10:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
11:0/0 = 0
11:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
0:1/0 = 0
0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
1:1/0 = 0
1:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
2:1/0 = 0
3:1/0 = 0
4:1/0 = 0
5:1/0 = 0
6:1/0 = 0
7:1/0 = 0
8:1/0 = 0
9:1/0 = 0
10:1/0 = 0
11:1/0 = 0
0:2/0 = 0
0:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
1:2/0 = 0
1:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
2:2/0 = 0
3:2/0 = 0
4:2/0 = 0
5:2/0 = 0
6:2/0 = 0
7:2/0 = 0
8:2/0 = 0
9:2/0 = 0
10:2/0 = 0
11:2/0 = 0
0:3/0 = 0
1:3/0 = 0
2:3/0 = 0
5:3/0 = 0
6:3/0 = 0
7:3/0 = 0
8:3/0 = 0
9:3/0 = 0
0:4/0 = 0
1:4/0 = 0
2:4/0 = 0
3:4/0 = 0
4:4/0 = 0
5:4/0 = 0
6:4/0 = 0
7:4/0 = 0
8:4/0 = 0
9:4/0 = 0
0:5/0 = 0
1:5/0 = 0
2:5/0 = 0
3:5/0 = 0
4:5/0 = 0
5:5/0 = 0
6:5/0 = 0
7:5/0 = 0
8:5/0 = 0
1:6/0 = 0
2:6/0 = 0
3:6/0 = 0
4:6/0 = 0
5:6/0 = 0
6:6/0 = 0
7:6/0 = 0
8:6/0 = 0
0:7/0 = 0
1:7/0 = 0
3:7/0 = 0
5:7/0 = 0
6:7/0 = 0
7:7/0 = 0
8:7/0 = 0
0:8/0 = 0
1:8/0 = 0
2:8/0 = 0
3:8/0 = 0
4:8/0 = 0
5:8/0 = 0
6:8/0 = 0
7:8/0 = 0
8:8/0 = 0
0:9/0 = 0
1:9/0 = 0
2:9/0 = 0
3:9/0 = 0
4:9/0 = 0
5:9/0 = 0
6:9/0 = 0
7:9/0 = 0
0:10/0 = 0
1:10/0 = 0
2:10/0 = 0
3:10/0 = 0
4:10/0 = 0
6:10/0 = 0
0:11/0 = 0
1:11/0 = 0
2:11/0 = 0
3:11/0 = 0
4:11/0 = 0
5:11/0 = 0
0:12/0 = 0
1:12/0 = 0
2:12/0 = 0
3:12/0 = 0
4:12/0 = 0
0:13/0 = 0
1:13/0 = 0
2:13/0 = 0
3:13/0 = 0
4:13/0 = 0
5:13/0 = 0
0:14/0 = 0
1:14/0 = 0
2:14/0 = 0
3:14/0 = 0
4:14/0 = 0
0:15/0 = 0
1:15/0 = 0
2:15/0 = 0
3:15/0 = 0

[sub_resource type="TileSet" id="TileSet_q0ben"]
physics_layer_0/collision_layer = 1
sources/0 = SubResource("TileSetAtlasSource_e35rp")

[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_juqrv"]
0:0/0 = 0
1:0/0 = 0
2:0/0 = 0
3:0/0 = 0
4:0/0 = 0
5:0/0 = 0
6:0/0 = 0
7:0/0 = 0
8:0/0 = 0
9:0/0 = 0
10:0/0 = 0
11:0/0 = 0
0:1/0 = 0
1:1/0 = 0
2:1/0 = 0
3:1/0 = 0
4:1/0 = 0
5:1/0 = 0
6:1/0 = 0
7:1/0 = 0
8:1/0 = 0
9:1/0 = 0
10:1/0 = 0
1:2/0 = 0
2:2/0 = 0
3:2/0 = 0
4:2/0 = 0
5:2/0 = 0
6:2/0 = 0
7:2/0 = 0
8:2/0 = 0
0:3/0 = 0
1:3/0 = 0
2:3/0 = 0
5:3/0 = 0
6:3/0 = 0
7:3/0 = 0
8:3/0 = 0
9:3/0 = 0
0:4/0 = 0
1:4/0 = 0
2:4/0 = 0
3:4/0 = 0
4:4/0 = 0
5:4/0 = 0
6:4/0 = 0
7:4/0 = 0
8:4/0 = 0
9:4/0 = 0
0:5/0 = 0
1:5/0 = 0
2:5/0 = 0
3:5/0 = 0
4:5/0 = 0
5:5/0 = 0
6:5/0 = 0
7:5/0 = 0
8:5/0 = 0
1:6/0 = 0
2:6/0 = 0
3:6/0 = 0
4:6/0 = 0
5:6/0 = 0
6:6/0 = 0
7:6/0 = 0
8:6/0 = 0
0:7/0 = 0
1:7/0 = 0
3:7/0 = 0
5:7/0 = 0
6:7/0 = 0
7:7/0 = 0
8:7/0 = 0
0:8/0 = 0
1:8/0 = 0
2:8/0 = 0
3:8/0 = 0
4:8/0 = 0
5:8/0 = 0
6:8/0 = 0
7:8/0 = 0
8:8/0 = 0
0:9/0 = 0
1:9/0 = 0
2:9/0 = 0
3:9/0 = 0
4:9/0 = 0
5:9/0 = 0
6:9/0 = 0
7:9/0 = 0
0:10/0 = 0
1:10/0 = 0
2:10/0 = 0
3:10/0 = 0
4:10/0 = 0
6:10/0 = 0
0:11/0 = 0
1:11/0 = 0
2:11/0 = 0
3:11/0 = 0
4:11/0 = 0
5:11/0 = 0
0:12/0 = 0
1:12/0 = 0
2:12/0 = 0
3:12/0 = 0
4:12/0 = 0
0:13/0 = 0
1:13/0 = 0
2:13/0 = 0
3:13/0 = 0
4:13/0 = 0
5:13/0 = 0
0:14/0 = 0
1:14/0 = 0
2:14/0 = 0
3:14/0 = 0
4:14/0 = 0
0:15/0 = 0
1:15/0 = 0
2:15/0 = 0
3:15/0 = 0

[sub_resource type="TileSet" id="TileSet_epwsm"]
sources/0 = SubResource("TileSetAtlasSource_juqrv")

[sub_resource type="Animation" id="Animation_owkni"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("LevelStartAssets/RichTextLabel:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(-160, -90)]
}

[sub_resource type="Animation" id="Animation_b6w6i"]
resource_name = "LevelStart"
length = 4.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("LevelStartAssets/RichTextLabel:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 2, 4),
"transitions": PackedFloat32Array(0.5, 2, 1),
"update": 0,
"values": [Vector2(-540, -90), Vector2(-160, -90), Vector2(220, -90)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_vp0xq"]
_data = {
&"RESET": SubResource("Animation_owkni"),
&"default": SubResource("Animation_b6w6i")
}

[sub_resource type="Animation" id="Animation_yx27v"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("RichTextLabel:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(-160, -90)]
}

[sub_resource type="Animation" id="Animation_vp0xq"]
resource_name = "default"
length = 4.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("RichTextLabel:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 2, 4),
"transitions": PackedFloat32Array(0.5, 2, 1),
"update": 0,
"values": [Vector2(-540, -90), Vector2(-160, -90), Vector2(220, -90)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_0gmdc"]
_data = {
&"RESET": SubResource("Animation_yx27v"),
&"default": SubResource("Animation_vp0xq")
}

[node name="Level1" type="Node2D"]

[node name="Foreground" type="TileMapLayer" parent="."]
tile_map_data = PackedByteArray("[encoded data, 124996 characters]")
tile_set = SubResource("TileSet_q0ben")

[node name="Background" type="TileMapLayer" parent="."]
self_modulate = Color(0.43134022, 0.43134025, 0.43134025, 1)
z_index = -2
tile_map_data = PackedByteArray("[encoded data, 18676 characters]")
tile_set = SubResource("TileSet_epwsm")

[node name="Player" parent="." instance=ExtResource("2_yijc5")]

[node name="Enemies" type="Node" parent="."]

[node name="StaticThreats" type="Node" parent="."]

[node name="SlowField" parent="StaticThreats" instance=ExtResource("11_epwsm")]
position = Vector2(152, 10)
scale = Vector2(2.6648748, -0.8358619)

[node name="SlowField2" parent="StaticThreats" instance=ExtResource("11_epwsm")]
position = Vector2(592, 10)
scale = Vector2(2.6648748, -0.8358619)

[node name="SlowField3" parent="StaticThreats" instance=ExtResource("11_epwsm")]
position = Vector2(1196.3074, 140)
scale = Vector2(4.8799906, 1)

[node name="SlowField4" parent="StaticThreats" instance=ExtResource("11_epwsm")]
position = Vector2(1945, 828)
scale = Vector2(6.982316, 1)

[node name="SlowField5" parent="StaticThreats" instance=ExtResource("11_epwsm")]
position = Vector2(2160, 828)
scale = Vector2(6.982316, 1)

[node name="SlowField6" parent="StaticThreats" instance=ExtResource("11_epwsm")]
position = Vector2(2127.2192, 508)
scale = Vector2(2, 1)

[node name="SlowField7" parent="StaticThreats" instance=ExtResource("11_epwsm")]
position = Vector2(2408, 331)
scale = Vector2(2.1746845, 1)

[node name="TextInteractables" type="Node" parent="."]

[node name="DialogueInteractable" parent="TextInteractables" instance=ExtResource("6_b6w6i")]
position = Vector2(1448, -53)
metadata/Dialogue = PackedStringArray()

[node name="DialogueInteractable2" parent="TextInteractables" instance=ExtResource("6_b6w6i")]
position = Vector2(2856, 521)
metadata/Dialogue = PackedStringArray()

[node name="ScreenAnimations" type="Node" parent="."]

[node name="LevelStartAssets" type="Node2D" parent="ScreenAnimations"]
visible = false
z_index = 10

[node name="LevelStart" type="AnimationPlayer" parent="ScreenAnimations/LevelStartAssets"]
root_node = NodePath("../..")
libraries = {
&"": SubResource("AnimationLibrary_vp0xq")
}

[node name="RichTextLabel" type="RichTextLabel" parent="ScreenAnimations/LevelStartAssets"]
offset_left = -160.0
offset_top = -90.0
offset_right = 160.0
offset_bottom = 90.0
pivot_offset = Vector2(160, 90)
theme_override_font_sizes/normal_font_size = 32
text = "START!"
scroll_active = false
autowrap_trim_flags = 0
shortcut_keys_enabled = false
horizontal_alignment = 1
vertical_alignment = 1

[node name="LevelCompleteAssets" type="Node2D" parent="ScreenAnimations"]
visible = false
z_index = 10

[node name="LevelComplete" type="AnimationPlayer" parent="ScreenAnimations/LevelCompleteAssets"]
libraries = {
&"": SubResource("AnimationLibrary_0gmdc")
}

[node name="RichTextLabel" type="RichTextLabel" parent="ScreenAnimations/LevelCompleteAssets"]
offset_left = -160.0
offset_top = -90.0
offset_right = 159.99976
offset_bottom = 90.0
pivot_offset = Vector2(160, 90)
theme_override_font_sizes/normal_font_size = 32
text = "LEVEL COMPLETE!"
scroll_active = false
autowrap_trim_flags = 0
shortcut_keys_enabled = false
horizontal_alignment = 1
vertical_alignment = 1

[node name="UI" type="Node2D" parent="."]
z_index = 10
script = ExtResource("6_073ra")

[node name="StartNode" type="Node2D" parent="."]
position = Vector2(0, -15)

[node name="EndNode" type="Node2D" parent="."]
position = Vector2(3080, 120)

[node name="LevelManager" parent="." instance=ExtResource("1_epwsm")]

[node name="ChangeMenuInitiator" type="Node2D" parent="LevelManager"]
script = ExtResource("2_0o67k")
