[gd_scene load_steps=24 format=3 uid="uid://qijbxpxaa5q4"]

[ext_resource type="Script" uid="uid://b7ek5hwa3xnp" path="res://scripts/world.gd" id="1_k0juu"]
[ext_resource type="PackedScene" uid="uid://cyv58dh04hcau" path="res://scenes/box.tscn" id="1_rwgxs"]
[ext_resource type="PackedScene" uid="uid://bq1odbf3aipjg" path="res://scenes/player.tscn" id="2_4wyf3"]
[ext_resource type="PackedScene" uid="uid://b4eh8y8nxy7lp" path="res://scenes/hud.tscn" id="2_71j4m"]
[ext_resource type="PackedScene" uid="uid://cllmxp5oqhs5a" path="res://scenes/enemy.tscn" id="3_4wyf3"]
[ext_resource type="PackedScene" uid="uid://cuyslukg667iq" path="res://scenes/rollingGrass.tscn" id="5_4mrxx"]
[ext_resource type="PackedScene" uid="uid://0exwphbbiaxa" path="res://scenes/tavern.tscn" id="6_qfnet"]
[ext_resource type="PackedScene" uid="uid://bsyvwetid4lqe" path="res://scenes/CartA.tscn" id="7_i7141"]
[ext_resource type="PackedScene" uid="uid://crpvk6tytbe7c" path="res://scenes/House2.tscn" id="10_q5onr"]
[ext_resource type="PackedScene" uid="uid://cum0sxo2wf3tf" path="res://scenes/House3.tscn" id="11_jhx03"]
[ext_resource type="PackedScene" uid="uid://c8if6wexexfaq" path="res://scenes/House4.tscn" id="12_o8fc1"]
[ext_resource type="PackedScene" uid="uid://dvypdngwv4o" path="res://scenes/House1.tscn" id="13_jhx03"]
[ext_resource type="PackedScene" uid="uid://chjw20nw0dpuf" path="res://scenes/waterWell.tscn" id="14_o8fc1"]
[ext_resource type="PackedScene" uid="uid://b4hn065v361ha" path="res://scenes/waterStall.tscn" id="15_xo05s"]
[ext_resource type="PackedScene" uid="uid://c7e2t3w3nglwh" path="res://scenes/CartB.tscn" id="16_dss4m"]
[ext_resource type="PackedScene" uid="uid://el4tpsvcf0ph" path="res://scenes/star.tscn" id="17_7t5mc"]
[ext_resource type="AudioStream" uid="uid://belgyw5bcasel" path="res://assets/Sfx/success-fanfare-trumpets-6185.mp3" id="17_lakw3"]

[sub_resource type="LabelSettings" id="LabelSettings_71j4m"]
font_size = 30
outline_size = 3
outline_color = Color(0, 0, 0, 1)

[sub_resource type="LabelSettings" id="LabelSettings_qfnet"]
font_size = 30
outline_size = 3
outline_color = Color(0, 0, 0, 1)
shadow_size = 4

[sub_resource type="LabelSettings" id="LabelSettings_dss4m"]
font_size = 30
outline_size = 3
outline_color = Color(0, 0, 0, 1)
shadow_size = 4

[sub_resource type="LabelSettings" id="LabelSettings_7t5mc"]
font_size = 64
outline_size = 10
outline_color = Color(0, 0, 0, 1)

[sub_resource type="LabelSettings" id="LabelSettings_lakw3"]
font_size = 64
outline_size = 10
outline_color = Color(0, 0, 0, 1)

[sub_resource type="QuadMesh" id="QuadMesh_e5uuo"]

[node name="World" type="Node2D"]
script = ExtResource("1_k0juu")

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

[node name="HUD" parent="UI" instance=ExtResource("2_71j4m")]
offset_left = 1.0
offset_top = -739.0
offset_right = 1131.0
offset_bottom = -26.0

[node name="HitPoints" type="Label" parent="UI/HUD"]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -126.0
offset_right = 228.0
grow_vertical = 0
label_settings = SubResource("LabelSettings_71j4m")
horizontal_alignment = 1
vertical_alignment = 1

[node name="Bullets" type="Label" parent="UI/HUD"]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -201.0
offset_top = -157.0
grow_horizontal = 0
grow_vertical = 0
label_settings = SubResource("LabelSettings_qfnet")
horizontal_alignment = 1
vertical_alignment = 1

[node name="StarsLeft" type="Label" parent="UI/HUD"]
layout_mode = 1
offset_left = 50.0
offset_top = 18.0
offset_right = 211.0
offset_bottom = 107.0
text = "Test"
label_settings = SubResource("LabelSettings_dss4m")
horizontal_alignment = 1
vertical_alignment = 2

[node name="YouWonLabel" type="Label" parent="UI/HUD"]
visible = false
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -155.0
offset_top = -41.5
offset_right = 155.0
offset_bottom = 41.5
grow_horizontal = 2
grow_vertical = 2
text = "YOU WON!	"
label_settings = SubResource("LabelSettings_7t5mc")
horizontal_alignment = 1
vertical_alignment = 1

[node name="GameOverLabel" type="Label" parent="UI/HUD"]
visible = false
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -174.0
offset_top = -44.0
offset_right = 174.0
offset_bottom = 44.0
grow_horizontal = 2
grow_vertical = 2
text = "Game Over"
label_settings = SubResource("LabelSettings_lakw3")
horizontal_alignment = 1
vertical_alignment = 1

[node name="MeshInstance2D" type="MeshInstance2D" parent="."]
modulate = Color(1, 0.879678, 0.574319, 1)
position = Vector2(748.5, 648)
scale = Vector2(8899, 6418)
mesh = SubResource("QuadMesh_e5uuo")
metadata/_edit_lock_ = true

[node name="Box" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(270, 182)
rotation = -1.46433

[node name="Box2" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(456, 167)

[node name="Box13" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(1341, -1339)

[node name="Box14" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(1341, -1203)
rotation = -0.122173

[node name="Box15" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(2738, -1330)
rotation = -0.122173

[node name="Box18" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(2638, -1204)

[node name="Box16" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(2763, -1194)
rotation = 0.122173

[node name="Box17" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(2608, -1339)
rotation = -0.122173

[node name="CartA" parent="." instance=ExtResource("7_i7141")]
position = Vector2(-220, 621)
rotation = 0.0523599

[node name="StaticBody2D" parent="CartA" instance=ExtResource("5_4mrxx")]
position = Vector2(314.561, 250.881)

[node name="CartA5" parent="." instance=ExtResource("7_i7141")]
position = Vector2(486, 2146)
rotation = 0.0523599

[node name="StaticBody2D" parent="CartA5" instance=ExtResource("5_4mrxx")]
position = Vector2(314.561, 250.881)

[node name="CartA4" parent="." instance=ExtResource("7_i7141")]
position = Vector2(2441, -1175)
rotation = 1.5708

[node name="CartA3" parent="." instance=ExtResource("7_i7141")]
position = Vector2(892, -1219)
rotation = 0.0523599

[node name="StaticBody2D" parent="CartA3" instance=ExtResource("5_4mrxx")]
position = Vector2(-235.546, -99.8092)

[node name="CartA2" parent="." instance=ExtResource("7_i7141")]
position = Vector2(1829, 2688)
rotation = 0.0523599

[node name="StaticBody2D" parent="CartA2" instance=ExtResource("5_4mrxx")]
position = Vector2(224.734, -202.039)

[node name="Player" parent="." instance=ExtResource("2_4wyf3")]
position = Vector2(492, 337)

[node name="Enemy" parent="." instance=ExtResource("3_4wyf3")]
position = Vector2(874, -984)
rotation = 2.90074

[node name="Enemy2" parent="." instance=ExtResource("3_4wyf3")]
position = Vector2(1293, 708)
rotation = 3.70708

[node name="Enemy3" parent="." instance=ExtResource("3_4wyf3")]
position = Vector2(1119, 737)
rotation = 5.4943

[node name="Enemy12" parent="." instance=ExtResource("3_4wyf3")]
position = Vector2(2619, 2136)
rotation = 5.4943

[node name="Enemy13" parent="." instance=ExtResource("3_4wyf3")]
position = Vector2(2920, 2157)
rotation = 3.1765

[node name="Enemy14" parent="." instance=ExtResource("3_4wyf3")]
position = Vector2(3308, 1802)
rotation = 3.1765

[node name="Enemy15" parent="." instance=ExtResource("3_4wyf3")]
position = Vector2(1287, 2324)
rotation = 3.1765

[node name="Enemy16" parent="." instance=ExtResource("3_4wyf3")]
position = Vector2(-559, 2324)
rotation = -1.09432

[node name="Enemy4" parent="." instance=ExtResource("3_4wyf3")]
position = Vector2(-2089, 1582)
rotation = 5.4943

[node name="Enemy5" parent="." instance=ExtResource("3_4wyf3")]
position = Vector2(-1855, 1677)
rotation = 5.4943

[node name="Enemy6" parent="." instance=ExtResource("3_4wyf3")]
position = Vector2(-2222, -847)
rotation = 5.4943

[node name="Enemy7" parent="." instance=ExtResource("3_4wyf3")]
position = Vector2(-2044, -1125)
rotation = 0.975639

[node name="Enemy8" parent="." instance=ExtResource("3_4wyf3")]
position = Vector2(-1722, -1086)
rotation = 2.20086

[node name="Enemy9" parent="." instance=ExtResource("3_4wyf3")]
position = Vector2(1169, -1064)
rotation = 5.4943

[node name="Enemy10" parent="." instance=ExtResource("3_4wyf3")]
position = Vector2(2642, -858)
rotation = 2.68781

[node name="Enemy11" parent="." instance=ExtResource("3_4wyf3")]
position = Vector2(2393, -919)
rotation = 0.858702

[node name="MainCamera" type="Camera2D" parent="."]

[node name="Tavern" parent="." instance=ExtResource("6_qfnet")]
position = Vector2(519, -222)

[node name="Tavern3" parent="." instance=ExtResource("6_qfnet")]
position = Vector2(-359, 1093)
rotation = 3.14159

[node name="Tavern2" parent="." instance=ExtResource("6_qfnet")]
position = Vector2(-490, -213)

[node name="StaticBody2D" parent="." instance=ExtResource("10_q5onr")]
position = Vector2(1880, 841)
rotation = 1.5708

[node name="StaticBody2D" parent="StaticBody2D" instance=ExtResource("11_jhx03")]
position = Vector2(-1422.67, 383.339)
rotation = 1.5708

[node name="StaticBody2D" parent="StaticBody2D/StaticBody2D" instance=ExtResource("12_o8fc1")]
position = Vector2(758.002, 195.327)
rotation = 3.14159

[node name="StaticBody2D2" parent="StaticBody2D" instance=ExtResource("11_jhx03")]
position = Vector2(-494.671, -1082.66)
rotation = 1.5708

[node name="StaticBody2D" parent="StaticBody2D/StaticBody2D2" instance=ExtResource("12_o8fc1")]
position = Vector2(-126.672, -742.666)
rotation = 4.71239

[node name="StaticBody2D3" parent="StaticBody2D" instance=ExtResource("11_jhx03")]
position = Vector2(-1427.34, -548.662)
rotation = 1.5708

[node name="StaticBody2D" parent="StaticBody2D/StaticBody2D3" instance=ExtResource("12_o8fc1")]
position = Vector2(-819.334, -47.3273)
rotation = 3.14159

[node name="Box3" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(124, 1006)
rotation = 2.90597

[node name="Box19" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-1654, 2194)
rotation = 1.80816

[node name="Box22" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-1782, 2073)
rotation = 1.70868

[node name="Box20" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-1640, 2052)
rotation = 2.90597

[node name="Box21" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-1637, 1910)
rotation = 1.56381

[node name="Box23" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-1581, 965)
rotation = 1.56381

[node name="Box38" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-2430, 464)
rotation = 1.56381

[node name="Box39" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-2558, 457)
rotation = 0.0994838

[node name="Box24" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-1504, 1149)
rotation = 1.56381

[node name="Box25" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-1426, 1009)
rotation = 0.221657

[node name="Box40" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-20, 1543)
rotation = 0.221657

[node name="Box33" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(199, 2158)
rotation = 0.221657

[node name="Box34" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(49, 2154)
rotation = -1.60919

[node name="Box41" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-161, 1548)
rotation = -0.144862

[node name="Box35" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(1672, 1709)
rotation = -1.60919

[node name="Box36" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(1678, 1832)
rotation = -1.60919

[node name="Box37" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(1535, 1763)
rotation = -2.95135

[node name="Box26" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-921, -1311)
rotation = 0.221657

[node name="Box27" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-750, -1335)
rotation = -0.144862

[node name="Box28" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-338, -1078)
rotation = -0.144862

[node name="Box29" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-2312, -1215)
rotation = -0.144862

[node name="Box30" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-1609, -1233)
rotation = 0.0994838

[node name="Box31" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-2333, -476)
rotation = 0.0994838

[node name="Box32" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(-2341, -610)
rotation = 1.56381

[node name="Box4" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(3408, 2594)

[node name="Box6" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(3648, 2528)

[node name="Box7" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(3765, 2592)

[node name="Box8" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(2481, 2393)

[node name="Box9" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(1831, 2511)

[node name="Box10" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(1949, 2515)
rotation = 1.5708

[node name="Box11" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(1574, 2740)
rotation = 1.5708

[node name="Box12" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(1576, 2866)
rotation = 1.5708

[node name="Box5" parent="." instance=ExtResource("1_rwgxs")]
position = Vector2(3519, 2507)
rotation = 2.90597

[node name="StaticBody2D2" parent="." instance=ExtResource("13_jhx03")]
position = Vector2(-655, -1681)

[node name="StaticBody2D3" parent="." instance=ExtResource("13_jhx03")]
position = Vector2(-1280, -1580)
rotation = 1.5708

[node name="StaticBody2D4" parent="." instance=ExtResource("13_jhx03")]
position = Vector2(-1277, -137)
rotation = 1.5708

[node name="StaticBody2D23" parent="." instance=ExtResource("13_jhx03")]
position = Vector2(2050, 3227)
rotation = 1.5708

[node name="StaticBody2D24" parent="." instance=ExtResource("13_jhx03")]
position = Vector2(-2806, 2640)
rotation = 1.5708

[node name="StaticBody2D25" parent="." instance=ExtResource("13_jhx03")]
position = Vector2(-647, -2430)
rotation = 1.5708

[node name="StaticBody2D26" parent="." instance=ExtResource("13_jhx03")]
position = Vector2(-3418, -607)
rotation = 1.5708

[node name="StaticBody2D27" parent="." instance=ExtResource("13_jhx03")]
position = Vector2(-3424, 592)
rotation = 1.5708

[node name="StaticBody2D28" parent="." instance=ExtResource("13_jhx03")]
position = Vector2(3762, -2209)
rotation = 1.5708

[node name="StaticBody2D32" parent="." instance=ExtResource("13_jhx03")]
position = Vector2(2593, -2416)

[node name="StaticBody2D33" parent="." instance=ExtResource("13_jhx03")]
position = Vector2(1370, -2404)

[node name="StaticBody2D29" parent="." instance=ExtResource("13_jhx03")]
position = Vector2(4575, -87.0002)
rotation = 1.5708

[node name="StaticBody2D30" parent="." instance=ExtResource("13_jhx03")]
position = Vector2(4575, 1228)
rotation = 1.5708

[node name="StaticBody2D31" parent="." instance=ExtResource("13_jhx03")]
position = Vector2(4630, 2707)

[node name="StaticBody2D8" parent="." instance=ExtResource("13_jhx03")]
position = Vector2(-1934, 2547)

[node name="StaticBody2D5" parent="." instance=ExtResource("11_jhx03")]
position = Vector2(-2290, -1186)
rotation = 1.5708
scale = Vector2(1.6, 1.6)

[node name="StaticBody2D6" parent="." instance=ExtResource("14_o8fc1")]
position = Vector2(770, 1064)

[node name="StaticBody2D" parent="StaticBody2D6" instance=ExtResource("15_xo05s")]
position = Vector2(-1297, -944)

[node name="StaticBody2D2" parent="StaticBody2D6" instance=ExtResource("15_xo05s")]
position = Vector2(-3110, -53)
rotation = 1.5708

[node name="StaticBody2D17" parent="." instance=ExtResource("14_o8fc1")]
position = Vector2(-1922, -892)
rotation = 0.975639

[node name="StaticBody2D" parent="StaticBody2D17" instance=ExtResource("15_xo05s")]
position = Vector2(5444, 2825)
rotation = 1.5708

[node name="StaticBody2D7" parent="." instance=ExtResource("16_dss4m")]
position = Vector2(1580, 442)
rotation = 1.69297

[node name="StaticBody2D15" parent="." instance=ExtResource("16_dss4m")]
position = Vector2(172, 1319)
rotation = 1.69297

[node name="StaticBody2D22" parent="." instance=ExtResource("16_dss4m")]
position = Vector2(-1629, -122)
rotation = 1.5708

[node name="StaticBody2D21" parent="." instance=ExtResource("16_dss4m")]
position = Vector2(-2369, 2290)
rotation = 1.69297

[node name="StaticBody2D16" parent="." instance=ExtResource("16_dss4m")]
position = Vector2(3384, 254)
rotation = 1.69297

[node name="StaticBody2D18" parent="." instance=ExtResource("16_dss4m")]
position = Vector2(2179, -1121)
rotation = 1.69297

[node name="StaticBody2D10" parent="." instance=ExtResource("11_jhx03")]
position = Vector2(-814, 2443)
scale = Vector2(1.6, 1.6)

[node name="StaticBody2D9" parent="." instance=ExtResource("12_o8fc1")]
position = Vector2(-2563, -10)
rotation = 4.71239
scale = Vector2(1.7, 1.7)

[node name="Area2D" parent="." instance=ExtResource("17_7t5mc")]
position = Vector2(1170, -1250)

[node name="Area2D2" parent="." instance=ExtResource("17_7t5mc")]
position = Vector2(3305, 2153)

[node name="Area2D3" parent="." instance=ExtResource("17_7t5mc")]
position = Vector2(-2127, 2186)

[node name="StaticBody2D11" parent="." instance=ExtResource("10_q5onr")]
position = Vector2(734, 2714)
scale = Vector2(-1.5, -1.5)

[node name="StaticBody2D14" parent="." instance=ExtResource("10_q5onr")]
position = Vector2(3319, 2770)
scale = Vector2(-1.5, -1.5)

[node name="StaticBody2D12" parent="." instance=ExtResource("6_qfnet")]
position = Vector2(2133, 2042)
rotation = -1.5708

[node name="StaticBody2D19" parent="." instance=ExtResource("6_qfnet")]
position = Vector2(-2694, 910)
rotation = -1.5708

[node name="StaticBody2D20" parent="." instance=ExtResource("6_qfnet")]
position = Vector2(-2699, 1734)
rotation = -1.5708

[node name="StaticBody2D13" parent="." instance=ExtResource("6_qfnet")]
position = Vector2(3776, 2052)
rotation = -4.71239

[node name="WinSound" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("17_lakw3")
