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

[ext_resource type="Script" uid="uid://bcqr1v25ygedb" path="res://Scripts/Classes/LevelClass.gd" id="1_gwkaa"]
[ext_resource type="JSON" path="res://Assets/Audio/BGM/BooRace.json" id="2_n47e6"]
[ext_resource type="PackedScene" uid="uid://bksxgpygrdjl7" path="res://Scenes/Prefabs/LevelBG.tscn" id="3_0ri1k"]
[ext_resource type="PackedScene" uid="uid://ct5rrpa7uehkk" path="res://Scenes/Parts/Tiles.tscn" id="4_12t4k"]
[ext_resource type="PackedScene" uid="uid://d1wjw5tobpb3w" path="res://Scenes/Prefabs/LevelObjects/BooRaceHandler.tscn" id="4_y1gac"]
[ext_resource type="PackedScene" uid="uid://bbrkol4k3yobq" path="res://Scenes/Prefabs/Entities/Enemies/RaceBoo.tscn" id="5_07xku"]
[ext_resource type="PackedScene" uid="uid://cuh62hlq8errh" path="res://Scenes/Prefabs/Entities/Player.tscn" id="5_mrdu6"]
[ext_resource type="PackedScene" uid="uid://iq86u4w60yee" path="res://Scenes/Prefabs/Entities/Objects/Firebar.tscn" id="8_eyymk"]
[ext_resource type="PackedScene" uid="uid://cbs645wiwmaxq" path="res://Scenes/Prefabs/Entities/Objects/Burner.tscn" id="9_wdb03"]
[ext_resource type="PackedScene" uid="uid://c145qqkvy8pr5" path="res://Scenes/Parts/DecoTiles.tscn" id="10_23ijw"]
[ext_resource type="PackedScene" uid="uid://bxsay5e6dhcqb" path="res://Scenes/Prefabs/Entities/Enemies/DryBones.tscn" id="10_y1gac"]
[ext_resource type="PackedScene" uid="uid://cxdj1ea1rt1r4" path="res://Scenes/Prefabs/Entities/Enemies/Podoboo.tscn" id="11_07xku"]
[ext_resource type="PackedScene" uid="uid://dtpyjucfl16sw" path="res://Scenes/Prefabs/LevelObjects/CastleBridge.tscn" id="11_y1gac"]
[ext_resource type="PackedScene" uid="uid://duptcik2j0b04" path="res://Scenes/Prefabs/Entities/Enemies/Bowser.tscn" id="12_07xku"]
[ext_resource type="PackedScene" uid="uid://cinr6kcbmo6gr" path="res://Scenes/Parts/DropShadowRenderer.tscn" id="13_wdb03"]
[ext_resource type="Script" uid="uid://bdq0373j5n5o0" path="res://Scripts/Parts/CameraRightLimit.gd" id="16_07xku"]

[sub_resource type="Curve2D" id="Curve2D_a36jx"]
_data = {
"points": PackedVector2Array(0, 0, 0, 0, -232, -64, -96.03532, 1.0514815, 96.03532, -1.0514815, -24, -96, 0, 0, 0, 0, 200, -136, -50.8917, 0.3855432, 50.8917, -0.3855432, 368, -136, -47.421814, 3.0843456, 47.421814, -3.0843456, 488, -24, -46.265182, 0.3855432, 46.265182, -0.3855432, 624, -24, -89.44602, 1.927716, 89.44602, -1.927716, 768, -136, -50.043514, -0.84819514, 50.043514, 0.84819514, 960, -80, -65.73512, 0.84819514, 65.73512, -0.84819514, 1576, -88, -83.54722, 0.8481951, 83.54722, -0.8481951, 1712, -168, -204.41502, 5.5132685, 204.41502, -5.5132685, 1880, -88, -134.01483, 7.633756, 134.01483, -7.633756, 2112, -168, -49.195316, -15.69161, 49.195316, 15.69161, 2240, -104, 0, 0, 0, 0, 2456, -88, -80.23925, -36.38757, 80.23925, 36.38757, 2760, -56, -65.77753, 37.78709, 65.77753, -37.78709, 2944, -128, 0, 0, 0, 0, 3144, -152, -43.385178, -0.4665073, 43.385178, 0.4665073, 3544, -144, -53.313385, -0.4665073, 53.313385, 0.4665073, 3632, -16, -84.01064, 4.7810936, 84.01064, -4.7810936, 3800, -128, 0, 0, 0, 0, 4104, -128)
}
point_count = 21

[node name="Boo1-4" type="Node"]
script = ExtResource("1_gwkaa")
music = ExtResource("2_n47e6")
theme = "Volcano"
campaign = "SMBS"
level_id = 4
metadata/_custom_type_script = "uid://bcqr1v25ygedb"

[node name="LevelBG" parent="." instance=ExtResource("3_0ri1k")]
particles = 3
liquid_layer = 2

[node name="Tiles" parent="." instance=ExtResource("4_12t4k")]
tile_map_data = PackedByteArray("[encoded data, 17476 characters]")

[node name="Player" parent="." instance=ExtResource("5_mrdu6")]
position = Vector2(-216, 0)

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

[node name="Firebar" parent="Enemies" instance=ExtResource("8_eyymk")]
position = Vector2(1016, -120)
starting_angle = 270
direction = 1

[node name="Firebar3" parent="Enemies" instance=ExtResource("8_eyymk")]
position = Vector2(536, -72)
length = 10
starting_angle = 225
direction = 1

[node name="Firebar2" parent="Enemies" instance=ExtResource("8_eyymk")]
position = Vector2(1064, -40)
starting_angle = 90

[node name="Firebar4" parent="Enemies" instance=ExtResource("8_eyymk")]
position = Vector2(2840, -8)
length = 7
starting_angle = 90

[node name="Firebar5" parent="Enemies" instance=ExtResource("8_eyymk")]
position = Vector2(2968, -72)
starting_angle = 270

[node name="Firebar6" parent="Enemies" instance=ExtResource("8_eyymk")]
position = Vector2(3752, -40)
length = 8
direction = 1

[node name="Burner" parent="Enemies" instance=ExtResource("9_wdb03")]
position = Vector2(888, -56)

[node name="Burner2" parent="Enemies" instance=ExtResource("9_wdb03")]
position = Vector2(712, -8)

[node name="Burner3" parent="Enemies" instance=ExtResource("9_wdb03")]
position = Vector2(1832, -56)

[node name="Burner4" parent="Enemies" instance=ExtResource("9_wdb03")]
position = Vector2(1896, -136)
direction = 1

[node name="DryBones" parent="Enemies" instance=ExtResource("10_y1gac")]
position = Vector2(696, 0)

[node name="DryBones2" parent="Enemies" instance=ExtResource("10_y1gac")]
position = Vector2(1448, 0)

[node name="DryBones3" parent="Enemies" instance=ExtResource("10_y1gac")]
position = Vector2(3496, -112)

[node name="DryBones4" parent="Enemies" instance=ExtResource("10_y1gac")]
position = Vector2(3688, 0)

[node name="DryBones5" parent="Enemies" instance=ExtResource("10_y1gac")]
position = Vector2(2728, 0)

[node name="Podoboo" parent="Enemies" instance=ExtResource("11_07xku")]
position = Vector2(232, -104)

[node name="Podoboo3" parent="Enemies" instance=ExtResource("11_07xku")]
position = Vector2(1608, -72)

[node name="Podoboo2" parent="Enemies" instance=ExtResource("11_07xku")]
position = Vector2(344, -104)

[node name="Podoboo4" parent="Enemies" instance=ExtResource("11_07xku")]
position = Vector2(2248, -136)

[node name="Podoboo5" parent="Enemies" instance=ExtResource("11_07xku")]
position = Vector2(2632, -88)

[node name="Podoboo6" parent="Enemies" instance=ExtResource("11_07xku")]
position = Vector2(3112, -136)

[node name="Podoboo7" parent="Enemies" instance=ExtResource("11_07xku")]
position = Vector2(3176, -136)

[node name="Podoboo8" parent="Enemies" instance=ExtResource("11_07xku")]
position = Vector2(3320, -152)

[node name="Podoboo9" parent="Enemies" instance=ExtResource("11_07xku")]
position = Vector2(3368, -152)

[node name="Podoboo10" parent="Enemies" instance=ExtResource("11_07xku")]
position = Vector2(3912, -88)

[node name="Podoboo11" parent="Enemies" instance=ExtResource("11_07xku")]
position = Vector2(3992, -88)

[node name="DecoTiles" parent="." instance=ExtResource("10_23ijw")]
tile_map_data = PackedByteArray("AAD0////AAAAAAAAAAD1////AAABAAAAAAD2////AAACAAAAAAAEAP7/AAADAAAAAAAEAP//AAADAAEAAAAaAP//AAABAAEAAAAbAP//AAABAAEAAAAiAP//AAACAAEAAAAoAP//AAAAAAAAAAApAP//AAABAAAAAAAqAP//AAACAAAAAAAzAPz/AAACAAEAAABQAP3/AAAEAAAAAABQAP7/AAAEAAEAAABQAP//AAAAAAEAAABYAP//AAAAAAAAAABZAP//AAABAAAAAABaAP//AAACAAAAAABeAP7/AAADAAAAAABeAP//AAADAAEAAABpAP//AAABAAEAAABrAP//AAACAAEAAABtAP7/AAADAAAAAABtAP//AAADAAEAAAB0APv/AAAAAAAAAAB1APv/AAABAAAAAAB2APv/AAACAAAAAAByAPr/AAADAAAAAAByAPv/AAADAAEAAACQAPv/AAABAAEAAAChAPn/AAAEAAAAAAChAPr/AAAEAAEAAAChAPv/AAAAAAEAAACnAP//AAABAAEAAACoAP//AAABAAEAAACsAP7/AAADAAAAAACsAP//AAADAAEAAACwAP//AAAAAAAAAACxAP//AAABAAAAAACyAP//AAACAAAAAAC0APz/AAADAAAAAAC0AP3/AAADAAEAAAC4APn/AAAEAAAAAAC4APr/AAAEAAEAAAC4APv/AAAAAAEAAADbAP//AAABAAEAAADcAP//AAABAAEAAADeAP//AAACAAEAAADkAP3/AAAEAAAAAADkAP7/AAAEAAEAAADkAP//AAAAAAEAAADsAPr/AAAAAAAAAADtAPr/AAABAAAAAADuAPr/AAACAAAAAAA=")

[node name="BooRaceHandler" parent="." node_paths=PackedStringArray("boo") instance=ExtResource("4_y1gac")]
boo = NodePath("../RaceBoo")
level_id = 3

[node name="CastleBridge" parent="." instance=ExtResource("11_y1gac")]
position = Vector2(3896, -56)
length = 17

[node name="Bowser" parent="." instance=ExtResource("12_07xku")]
position = Vector2(4024, -64)

[node name="RaceBoo" parent="." node_paths=PackedStringArray("path") instance=ExtResource("5_07xku")]
position = Vector2(-232, -64)
path = NodePath("../Path2D/PathFollow2D")
time_needed = [50, 45, 40, 35, 29]

[node name="DropShadow" parent="." instance=ExtResource("13_wdb03")]

[node name="Path2D" type="Path2D" parent="."]
curve = SubResource("Curve2D_a36jx")

[node name="PathFollow2D" type="PathFollow2D" parent="Path2D"]
position = Vector2(-232, -64)
rotates = false

[node name="RemoteTransform2D" type="RemoteTransform2D" parent="Path2D/PathFollow2D"]
remote_path = NodePath("../../../RaceBoo")
update_rotation = false
update_scale = false

[node name="CameraRightLimit" type="Node2D" parent="."]
position = Vector2(4128, -104)
script = ExtResource("16_07xku")
metadata/_custom_type_script = "uid://bdq0373j5n5o0"

[connection signal="axe_touched" from="CastleBridge" to="BooRaceHandler" method="player_win_race"]
[connection signal="victory_begin" from="CastleBridge" to="BooRaceHandler" method="tally_time"]
[connection signal="victory_begin" from="CastleBridge" to="CameraRightLimit" method="_enter_tree"]
