[gd_scene load_steps=24 format=4 uid="uid://bcray1583u4e6"]

[ext_resource type="Texture2D" uid="uid://deprjxf7mfx2j" path="res://Assets/Graphics/Terrains/Background/Demon Woods/parallax-demon-woods-bg.png" id="1_aiupx"]
[ext_resource type="Texture2D" uid="uid://c3312wwdqrcms" path="res://Assets/Graphics/Terrains/Items/Kids/pileblankets.png" id="1_q7uud"]
[ext_resource type="Texture2D" uid="uid://rqo2a3nuk173" path="res://Assets/Graphics/Terrains/Background/Demon Woods/parallax-demon-woods-far-trees.png" id="2_v8qg6"]
[ext_resource type="Texture2D" uid="uid://bjkgrsnn5l0uu" path="res://Assets/Graphics/Terrains/Background/Demon Woods/parallax-demon-woods-mid-trees.png" id="3_q7uud"]
[ext_resource type="Texture2D" uid="uid://c6svcdw8rw64o" path="res://Assets/Graphics/Terrains/Background/Demon Woods/parallax-demon-woods-close-trees.png" id="4_ai43x"]
[ext_resource type="Texture2D" uid="uid://dg3nhen8cfl3n" path="res://Assets/Graphics/Terrains/Tileset/smaller night terrain red.png" id="5_v8qg6"]
[ext_resource type="Texture2D" uid="uid://o2urw4rhoc7e" path="res://Assets/Graphics/Terrains/Items/Kids/xx.png" id="6_ina8l"]
[ext_resource type="PackedScene" uid="uid://bu8e4iyw8pc03" path="res://Scenes/Player.tscn" id="8_6aau3"]
[ext_resource type="PackedScene" uid="uid://b5d8himq5sttt" path="res://Scenes/trigger.tscn" id="9_osu04"]
[ext_resource type="PackedScene" uid="uid://dr1mp5x0cmbhw" path="res://Scenes/coin.tscn" id="10_y4887"]
[ext_resource type="PackedScene" uid="uid://k42k25w6fsbo" path="res://Scenes/ui.tscn" id="11_otmkx"]
[ext_resource type="Texture2D" uid="uid://d0pgxw6p22var" path="res://Assets/Graphics/Terrains/Items/Kids/hiding.png" id="11_v8qg6"]
[ext_resource type="Texture2D" uid="uid://o2i1qkvebmqa" path="res://Assets/Graphics/Terrains/Items/Kids/bed.png" id="12_q7uud"]
[ext_resource type="Texture2D" uid="uid://c311b7r7ocg28" path="res://Assets/Graphics/Terrains/Items/Kids/chalkboard.png" id="13_q7uud"]
[ext_resource type="Texture2D" uid="uid://dx7kxlon71y1p" path="res://Assets/Graphics/Terrains/Items/Kids/LibraryWindow.png" id="14_ai43x"]
[ext_resource type="Texture2D" uid="uid://cop40drugsvcl" path="res://Assets/Graphics/Terrains/Items/Kids/hide.png" id="15_qcnhb"]
[ext_resource type="Texture2D" uid="uid://bgdq31arm2m6u" path="res://Assets/Graphics/Terrains/Items/Kids/book1.png" id="16_6fou7"]

[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_q7uud"]
texture = ExtResource("5_v8qg6")
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
12:0/0 = 0
13:0/0 = 0
14:0/0 = 0
15: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
11:1/0 = 0
12:1/0 = 0
13:1/0 = 0
14:1/0 = 0
15:1/0 = 0
0:2/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
9:2/0 = 0
10:2/0 = 0
11:2/0 = 0
12:2/0 = 0
13:2/0 = 0
14:2/0 = 0
15:2/0 = 0
0:3/0 = 0
1:3/0 = 0
2:3/0 = 0
3:3/0 = 0
4:3/0 = 0
5:3/0 = 0
6:3/0 = 0
7:3/0 = 0
8:3/0 = 0
9:3/0 = 0
10:3/0 = 0
11:3/0 = 0
12:3/0 = 0
13:3/0 = 0
14:3/0 = 0
15: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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
12:10/0 = 0
13:10/0 = 0
14:10/0 = 0
15: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
6:11/0 = 0
7:11/0 = 0
8:11/0 = 0
9:11/0 = 0
10:11/0 = 0
11:11/0 = 0
12:11/0 = 0
13:11/0 = 0
14:11/0 = 0
15:11/0 = 0
0:12/0 = 0
1:12/0 = 0
2:12/0 = 0
3:12/0 = 0
4:12/0 = 0
5:12/0 = 0
6:12/0 = 0
7:12/0 = 0
8:12/0 = 0
9:12/0 = 0
10:12/0 = 0
11:12/0 = 0
12:12/0 = 0
13:12/0 = 0
14:12/0 = 0
15: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
6:13/0 = 0
7:13/0 = 0
8:13/0 = 0
9:13/0 = 0
10:13/0 = 0
11:13/0 = 0
12:13/0 = 0
13:13/0 = 0
14:13/0 = 0
15:13/0 = 0
0:14/0 = 0
1:14/0 = 0
2:14/0 = 0
3:14/0 = 0
4:14/0 = 0
5:14/0 = 0
6:14/0 = 0
7:14/0 = 0
8:14/0 = 0
9:14/0 = 0
10:14/0 = 0
11:14/0 = 0
12:14/0 = 0
13:14/0 = 0
14:14/0 = 0
15:14/0 = 0
0:15/0 = 0
1:15/0 = 0
2:15/0 = 0
3:15/0 = 0
4:15/0 = 0
5:15/0 = 0
6:15/0 = 0
7:15/0 = 0
8:15/0 = 0
9:15/0 = 0
10:15/0 = 0
11:15/0 = 0
12:15/0 = 0
13:15/0 = 0
14:15/0 = 0
15:15/0 = 0
0:16/0 = 0
1:16/0 = 0
2:16/0 = 0
3:16/0 = 0
4:16/0 = 0
5:16/0 = 0
6:16/0 = 0
7:16/0 = 0
8:16/0 = 0
9:16/0 = 0
10:16/0 = 0
11:16/0 = 0
12:16/0 = 0
13:16/0 = 0
14:16/0 = 0
15:16/0 = 0
0:17/0 = 0
1:17/0 = 0
2:17/0 = 0
3:17/0 = 0
4:17/0 = 0
5:17/0 = 0
6:17/0 = 0
7:17/0 = 0
8:17/0 = 0
9:17/0 = 0
10:17/0 = 0
11:17/0 = 0
12:17/0 = 0
13:17/0 = 0
14:17/0 = 0
15:17/0 = 0
0:18/0 = 0
1:18/0 = 0
2:18/0 = 0
3:18/0 = 0
4:18/0 = 0
5:18/0 = 0
6:18/0 = 0
7:18/0 = 0
8:18/0 = 0
9:18/0 = 0
10:18/0 = 0
11:18/0 = 0
12:18/0 = 0
13:18/0 = 0
14:18/0 = 0
15:18/0 = 0
0:19/0 = 0
1:19/0 = 0
2:19/0 = 0
3:19/0 = 0
4:19/0 = 0
5:19/0 = 0
6:19/0 = 0
7:19/0 = 0
8:19/0 = 0
9:19/0 = 0
10:19/0 = 0
11:19/0 = 0
12:19/0 = 0
13:19/0 = 0
14:19/0 = 0
15:19/0 = 0

[sub_resource type="TileSet" id="TileSet_ai43x"]
sources/7 = SubResource("TileSetAtlasSource_q7uud")

[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_1l0tm"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_mtqcm"]
size = Vector2(9, 665)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_v8qg6"]
size = Vector2(9, 665)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_q7uud"]
size = Vector2(4270, 29.875)

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

[node name="PlayerSpawn" type="Marker2D" parent="."]
position = Vector2(347, 240)

[node name="CharacterBody2D" parent="." instance=ExtResource("8_6aau3")]
position = Vector2(247, 183)

[node name="CameraBounds" type="Node2D" parent="."]

[node name="TopLeft" type="Marker2D" parent="CameraBounds"]

[node name="BottomRight" type="Marker2D" parent="CameraBounds"]
position = Vector2(3973, 360)

[node name="DemonWoodsParallax" type="ParallaxBackground" parent="."]

[node name="BG_Layer" type="ParallaxLayer" parent="DemonWoodsParallax"]
motion_scale = Vector2(0.1, 0.1)
motion_mirroring = Vector2(480, 0)

[node name="Sprite2D" type="Sprite2D" parent="DemonWoodsParallax/BG_Layer"]
z_index = -40
position = Vector2(242, 140)
texture = ExtResource("1_aiupx")

[node name="FarTrees_Layer" type="ParallaxLayer" parent="DemonWoodsParallax"]
motion_scale = Vector2(0.3, 0.3)
motion_mirroring = Vector2(592, 0)

[node name="Sprite2D" type="Sprite2D" parent="DemonWoodsParallax/FarTrees_Layer"]
z_index = -30
position = Vector2(295, 140)
texture = ExtResource("2_v8qg6")

[node name="MidTrees_Layer" type="ParallaxLayer" parent="DemonWoodsParallax"]
motion_scale = Vector2(0.5, 0.5)
motion_mirroring = Vector2(592, 0)

[node name="Sprite2D" type="Sprite2D" parent="DemonWoodsParallax/MidTrees_Layer"]
z_index = -20
position = Vector2(295, 140)
texture = ExtResource("3_q7uud")

[node name="CloseTrees_Layer" type="ParallaxLayer" parent="DemonWoodsParallax"]
motion_scale = Vector2(0.8, 0.8)
motion_mirroring = Vector2(592, 0)

[node name="Sprite2D" type="Sprite2D" parent="DemonWoodsParallax/CloseTrees_Layer"]
z_index = -10
position = Vector2(295, 140)
texture = ExtResource("4_ai43x")

[node name="Xx" type="Sprite2D" parent="DemonWoodsParallax/CloseTrees_Layer"]
position = Vector2(490, 176)
texture = ExtResource("6_ina8l")

[node name="TileMapLayer" type="TileMapLayer" parent="."]
texture_filter = 1
position = Vector2(0, -1)
tile_map_data = PackedByteArray("[encoded data, 8644 characters]")
tile_set = SubResource("TileSet_ai43x")

[node name="Triggers" type="Node2D" parent="."]

[node name="Area2D2" parent="Triggers" instance=ExtResource("9_osu04")]
position = Vector2(646, 406)
effect = "destroy"

[node name="Area2D3" parent="Triggers" instance=ExtResource("9_osu04")]
position = Vector2(892, 406)

[node name="Coins" type="Node2D" parent="."]
position = Vector2(9, 5)

[node name="Area2D" parent="Coins" instance=ExtResource("10_y4887")]
position = Vector2(1059, 381)

[node name="Area2D2" parent="Coins" instance=ExtResource("10_y4887")]
position = Vector2(1238, 367)

[node name="Area2D3" parent="Coins" instance=ExtResource("10_y4887")]
position = Vector2(1109, 386)

[node name="Enemies" type="Node2D" parent="."]
position = Vector2(122, 11)

[node name="WorldBoundary" type="StaticBody2D" parent="."]
position = Vector2(574, 596)
metadata/_edit_group_ = true

[node name="CollisionShape2D" type="CollisionShape2D" parent="WorldBoundary"]
shape = SubResource("WorldBoundaryShape2D_1l0tm")

[node name="LeftWallBoundary" type="StaticBody2D" parent="WorldBoundary"]

[node name="CollisionShape2D" type="CollisionShape2D" parent="WorldBoundary/LeftWallBoundary"]
position = Vector2(-514.5, -322.5)
shape = SubResource("RectangleShape2D_mtqcm")

[node name="RightWallBoundary" type="StaticBody2D" parent="WorldBoundary"]
position = Vector2(4000, 0)

[node name="CollisionShape2D" type="CollisionShape2D" parent="WorldBoundary/RightWallBoundary"]
position = Vector2(-638.5, -321)
shape = SubResource("RectangleShape2D_v8qg6")

[node name="Floor" type="StaticBody2D" parent="WorldBoundary"]
position = Vector2(4000, 0)

[node name="CollisionShape2D" type="CollisionShape2D" parent="WorldBoundary/Floor"]
position = Vector2(-2503, -324.9375)
shape = SubResource("RectangleShape2D_q7uud")
debug_color = Color(0.3397953, 0.50140995, 0.95734316, 0.41960785)

[node name="CanvasLayer" type="CanvasLayer" parent="."]

[node name="UI" parent="CanvasLayer" instance=ExtResource("11_otmkx")]
metadata/_edit_use_anchors_ = true

[node name="Decor" type="Node2D" parent="."]

[node name="ObjectsInfront" type="Node2D" parent="Decor"]

[node name="Pileblankets" type="Sprite2D" parent="Decor/ObjectsInfront"]
z_index = 20
texture_filter = 1
position = Vector2(3776.3, 244.5)
scale = Vector2(0.5, 0.5)
texture = ExtResource("1_q7uud")

[node name="ObjectsBehind" type="Node2D" parent="Decor"]

[node name="Hiding" type="Sprite2D" parent="Decor/ObjectsBehind"]
position = Vector2(3744, 218)
scale = Vector2(0.5, 0.5)
texture = ExtResource("11_v8qg6")

[node name="Bed" type="Sprite2D" parent="Decor/ObjectsBehind"]
position = Vector2(3552, 237)
scale = Vector2(0.5, 0.5)
texture = ExtResource("12_q7uud")

[node name="LibraryWindow" type="Sprite2D" parent="Decor/ObjectsBehind"]
position = Vector2(1974, 130)
rotation = 0.47647488
scale = Vector2(0.15, 0.15)
texture = ExtResource("14_ai43x")

[node name="Chalkboard" type="Sprite2D" parent="Decor/ObjectsBehind"]
position = Vector2(1261.0001, 229)
scale = Vector2(0.7, 0.7)
texture = ExtResource("13_q7uud")

[node name="Hide" type="Sprite2D" parent="."]
position = Vector2(1586, 148)
scale = Vector2(0.5, 0.5)
texture = ExtResource("15_qcnhb")

[node name="Book2" type="Node2D" parent="."]
texture_filter = 1
position = Vector2(686.0856, 146.10214)

[node name="Book1" type="Sprite2D" parent="Book2"]
texture_filter = 1
scale = Vector2(0.3, 0.3)
texture = ExtResource("16_6fou7")

[connection signal="areatrigger" from="Triggers/Area2D2" to="." method="_on_areatrigger"]
[connection signal="areatrigger" from="Triggers/Area2D3" to="." method="_on_areatrigger"]
