[gd_scene load_steps=33 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://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="PackedScene" uid="uid://b5d8himq5sttt" path="res://Scenes/trigger.tscn" id="9_osu04"]
[ext_resource type="PackedScene" uid="uid://dr1mp5x0cmbhw" path="res://Scenes/Items/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://dx7kxlon71y1p" path="res://Assets/Graphics/Terrains/Items/Kids/LibraryWindow.png" id="14_ai43x"]
[ext_resource type="Texture2D" uid="uid://bgdq31arm2m6u" path="res://Assets/Graphics/Terrains/Items/Kids/book1.png" id="16_6fou7"]
[ext_resource type="Texture2D" uid="uid://wy8depbeglf" path="res://Assets/Graphics/Terrains/Items/Kids/book2.png" id="17_6aau3"]
[ext_resource type="Texture2D" uid="uid://decfc2lb4s7fo" path="res://Assets/Graphics/Terrains/Items/Kids/book3.png" id="18_osu04"]
[ext_resource type="Texture2D" uid="uid://cqfbwlmeumx6f" path="res://Assets/Graphics/Terrains/Items/Kids/hurry.png" id="19_osu04"]
[ext_resource type="Texture2D" uid="uid://bdcmvjdt2xh45" path="res://Assets/Graphics/Terrains/Items/Kids/remember.png" id="20_otmkx"]
[ext_resource type="Texture2D" uid="uid://dckc0lpalr6xh" path="res://Assets/Graphics/Terrains/Items/Kids/runn.png" id="20_y4887"]
[ext_resource type="Texture2D" uid="uid://dpgcamlr5udsj" path="res://Assets/Graphics/Terrains/Items/Kids/desk.png" id="21_i5c68"]
[ext_resource type="Texture2D" uid="uid://d076ufihs0gpj" path="res://Assets/Graphics/Terrains/Items/Kids/clocl.png" id="22_i5c68"]
[ext_resource type="Texture2D" uid="uid://cppcoywqfbbot" path="res://Assets/Graphics/Terrains/Items/Kids/run.png" id="23_8a7x1"]
[ext_resource type="Texture2D" uid="uid://dblug0jsetkt2" path="res://Assets/Graphics/Terrains/Items/Kids/table.png" id="23_mrgau"]
[ext_resource type="Texture2D" uid="uid://dtjsltemfh5fn" path="res://Assets/Graphics/Terrains/Items/Kids/lamp.png" id="24_bhn1t"]
[ext_resource type="Texture2D" uid="uid://df55khvmq7ud2" path="res://Assets/Graphics/Terrains/Items/Kids/bedroom.png" id="24_mrgau"]
[ext_resource type="Texture2D" uid="uid://dawtfoxvia0ln" path="res://Assets/Graphics/Terrains/Items/Kids/doll.png" id="25_fo64u"]
[ext_resource type="Texture2D" uid="uid://c3gnq3kpcgr7w" path="res://Assets/Graphics/Terrains/Items/Kids/blankets.png" id="25_mrgau"]
[ext_resource type="PackedScene" uid="uid://mpbyvdlj8q0v" path="res://Scenes/Characters/Demon.tscn" id="26_bhn1t"]
[ext_resource type="Texture2D" uid="uid://ccivnuoxj4osh" path="res://Assets/Graphics/Terrains/Items/Kids/stuffies.png" id="26_y10ne"]
[ext_resource type="Texture2D" uid="uid://cldc5pnvwspu6" path="res://Assets/Graphics/Terrains/Items/Kids/train.png" id="27_b138e"]

[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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: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="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
texture_filter = 1
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="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="Decor" type="Node2D" parent="."]

[node name="Hurry" type="Sprite2D" parent="Decor"]
texture_filter = 1
position = Vector2(1726, 146)
scale = Vector2(0.5, 0.5)
texture = ExtResource("19_osu04")

[node name="Runn" type="Sprite2D" parent="Decor"]
texture_filter = 1
position = Vector2(300, 146)
scale = Vector2(0.5, 0.5)
texture = ExtResource("20_y4887")

[node name="Remember2" type="Sprite2D" parent="Decor"]
position = Vector2(2436, 146)
scale = Vector2(0.3, 0.3)
texture = ExtResource("20_otmkx")

[node name="Desk" type="Sprite2D" parent="Decor"]
z_index = 20
position = Vector2(2689.9998, 192.99998)
rotation = -0.15882495
scale = Vector2(0.21, 0.21)
texture = ExtResource("21_i5c68")

[node name="Clocl" type="Sprite2D" parent="Decor"]
z_index = 20
position = Vector2(2212, 106.000015)
scale = Vector2(0.2, 0.2)
texture = ExtResource("22_i5c68")

[node name="Run" type="Sprite2D" parent="Decor"]
z_index = 20
texture_filter = 1
position = Vector2(976.00006, 250.00002)
scale = Vector2(0.1, 0.1)
texture = ExtResource("23_8a7x1")

[node name="Bedroom" type="Sprite2D" parent="Decor"]
texture_filter = 1
position = Vector2(3623, 209.00002)
scale = Vector2(0.3, 0.3)
texture = ExtResource("24_mrgau")

[node name="Blankets" type="Sprite2D" parent="Decor"]
z_index = 20
texture_filter = 1
position = Vector2(3791.0002, 238)
scale = Vector2(0.3, 0.3)
texture = ExtResource("25_mrgau")

[node name="Table" type="Sprite2D" parent="Decor"]
z_index = 20
texture_filter = 1
position = Vector2(3400, 200)
scale = Vector2(0.1, 0.1)
texture = ExtResource("23_mrgau")

[node name="Lamp" type="Sprite2D" parent="Decor"]
z_index = 20
texture_filter = 1
position = Vector2(3419, 146)
scale = Vector2(0.2, 0.2)
texture = ExtResource("24_bhn1t")

[node name="Doll" type="Sprite2D" parent="Decor"]
texture_filter = 1
position = Vector2(1052, 246)
scale = Vector2(0.1, 0.1)
texture = ExtResource("25_fo64u")

[node name="Stuffies" type="Sprite2D" parent="Decor"]
texture_filter = 1
position = Vector2(1095, 243)
scale = Vector2(0.1, 0.1)
texture = ExtResource("26_y10ne")

[node name="Train" type="Sprite2D" parent="Decor"]
z_index = 20
texture_filter = 1
position = Vector2(1212, 189.99998)
rotation = -0.47647488
scale = Vector2(0.15, 0.15)
texture = ExtResource("27_b138e")

[node name="Book1" type="Sprite2D" parent="Decor"]
texture_filter = 1
position = Vector2(697, 153.00002)
scale = Vector2(0.2, 0.2)
texture = ExtResource("16_6fou7")

[node name="Book2" type="Sprite2D" parent="Decor"]
z_index = 10
texture_filter = 1
position = Vector2(671.99994, 157)
scale = Vector2(0.3, 0.3)
texture = ExtResource("17_6aau3")

[node name="Book3" type="Sprite2D" parent="Decor"]
z_index = 20
texture_filter = 1
position = Vector2(642, 167.00002)
scale = Vector2(0.35, 0.35)
texture = ExtResource("18_osu04")

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

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

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

[node name="Demon" parent="." instance=ExtResource("26_bhn1t")]
position = Vector2(869, 199)

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