[gd_scene load_steps=16 format=4 uid="uid://bbb05blvs4fka"]

[ext_resource type="Script" uid="uid://bcqr1v25ygedb" path="res://Scripts/Classes/LevelClass.gd" id="1_xa7kv"]
[ext_resource type="JSON" path="res://Assets/Audio/BGM/Underwater.json" id="2_g2kpq"]
[ext_resource type="PackedScene" uid="uid://ct5rrpa7uehkk" path="res://Scenes/Parts/Tiles.tscn" id="4_l1fl1"]
[ext_resource type="PackedScene" uid="uid://cuh62hlq8errh" path="res://Scenes/Prefabs/Entities/Player.tscn" id="6_7oibp"]
[ext_resource type="Script" uid="uid://bdq0373j5n5o0" path="res://Scripts/Parts/CameraRightLimit.gd" id="7_k2g46"]
[ext_resource type="PackedScene" uid="uid://b6drci0vml1as" path="res://Scenes/Prefabs/Entities/Enemies/Blooper.tscn" id="8_7oibp"]
[ext_resource type="PackedScene" uid="uid://d04e1qv3si8j" path="res://Scenes/Prefabs/Entities/Enemies/RedCheepCheep.tscn" id="9_tib52"]
[ext_resource type="PackedScene" uid="uid://bdirphnfabey8" path="res://Scenes/Prefabs/Entities/Enemies/GreenCheepCheep.tscn" id="10_g2kpq"]
[ext_resource type="PackedScene" uid="uid://e3wkbwtm7sh" path="res://Scenes/Parts/WaterArea.tscn" id="11_7oibp"]
[ext_resource type="PackedScene" uid="uid://dkgu57is78lro" path="res://Scenes/Parts/PipeArea.tscn" id="12_tib52"]
[ext_resource type="PackedScene" uid="uid://cinr6kcbmo6gr" path="res://Scenes/Parts/DropShadowRenderer.tscn" id="13_g2kpq"]
[ext_resource type="PackedScene" uid="uid://bksxgpygrdjl7" path="res://Scenes/Prefabs/LevelBG.tscn" id="13_wo30q"]
[ext_resource type="Script" uid="uid://cybpwmw4ywoow" path="res://Scripts/Parts/TileMapConverter.gd" id="14_wo30q"]
[ext_resource type="Script" uid="uid://cgm3opb5qudc1" path="res://Scripts/Parts/ChallengeModeNodes.gd" id="16_xh2w8"]
[ext_resource type="PackedScene" uid="uid://cmbpqnq10arts" path="res://Scenes/Prefabs/Entities/Items/RedCoin.tscn" id="17_d6dys"]

[node name="3-1" type="Node"]
script = ExtResource("1_xa7kv")
music = ExtResource("2_g2kpq")
theme = "Underwater"
campaign = "SMBS"
world_id = 3
metadata/_custom_type_script = "uid://bcqr1v25ygedb"

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

[node name="Player" parent="." instance=ExtResource("6_7oibp")]
position = Vector2(-208, -144)

[node name="Water" parent="." instance=ExtResource("4_l1fl1")]
visibility_layer = 2
z_index = -4096
z_as_relative = false
tile_map_data = PackedByteArray("[encoded data, 42692 characters]")

[node name="CameraRightLimit" type="Node2D" parent="."]
position = Vector2(1024, -152)
script = ExtResource("7_k2g46")
metadata/_custom_type_script = "uid://bdq0373j5n5o0"

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

[node name="Blooper" parent="Enemies" instance=ExtResource("8_7oibp")]
position = Vector2(328, -128)

[node name="CheepCheep" parent="Enemies" instance=ExtResource("9_tib52")]
position = Vector2(640, -40)

[node name="CheepCheep2" parent="Enemies" instance=ExtResource("9_tib52")]
position = Vector2(760, -112)

[node name="CheepCheep3" parent="Enemies" instance=ExtResource("9_tib52")]
position = Vector2(888, -80)

[node name="CheepCheep4" parent="Enemies" instance=ExtResource("10_g2kpq")]
position = Vector2(568, -48)

[node name="CheepCheep5" parent="Enemies" instance=ExtResource("10_g2kpq")]
position = Vector2(664, -112)

[node name="CheepCheep6" parent="Enemies" instance=ExtResource("10_g2kpq")]
position = Vector2(848, -96)

[node name="WaterArea" parent="." instance=ExtResource("11_7oibp")]
visible = false
position = Vector2(360, -8)
scale = Vector2(99, 99)

[node name="PipeArea" parent="." instance=ExtResource("12_tib52")]
position = Vector2(944, -112)
enter_direction = 3
target_level = "uid://c7ypta3tkumd"

[node name="PipeArea2" parent="." instance=ExtResource("12_tib52")]
position = Vector2(448, -16)
enter_direction = 3
target_level = "uid://c7ypta3tkumd"

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

[node name="TileMapConverter" type="Node" parent="." node_paths=PackedStringArray("tilemap")]
script = ExtResource("14_wo30q")
tilemap = NodePath("../Tiles")
metadata/_custom_type_script = "uid://cybpwmw4ywoow"

[node name="LevelBG" parent="." instance=ExtResource("13_wo30q")]

[node name="ResourceSetterNew" parent="LevelBG/SkyLayer/Sprite" index="0"]
use_cache = false
force_properties = {
"Theme": "Beach"
}

[node name="ChallengeNodes" type="Node" parent="."]
script = ExtResource("16_xh2w8")
metadata/_custom_type_script = "uid://cgm3opb5qudc1"

[node name="RedCoin" parent="ChallengeNodes" instance=ExtResource("17_d6dys")]
position = Vector2(144, -120)

[node name="RedCoin2" parent="ChallengeNodes" instance=ExtResource("17_d6dys")]
position = Vector2(800, -8)
id = 1

[connection signal="collected" from="Tiles/Coin" to="Tiles/Coin/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@258840" to="Tiles/@Node2D@258840/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@258841" to="Tiles/@Node2D@258841/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@258842" to="Tiles/@Node2D@258842/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@258843" to="Tiles/@Node2D@258843/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@258844" to="Tiles/@Node2D@258844/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@258845" to="Tiles/@Node2D@258845/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@258846" to="Tiles/@Node2D@258846/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@258847" to="Tiles/@Node2D@258847/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@258848" to="Tiles/@Node2D@258848/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@258849" to="Tiles/@Node2D@258849/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@258850" to="Tiles/@Node2D@258850/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@258851" to="Tiles/@Node2D@258851/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@258852" to="Tiles/@Node2D@258852/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@258853" to="Tiles/@Node2D@258853/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@258854" to="Tiles/@Node2D@258854/LevelPersistance" method="set_as_active"]

[editable path="LevelBG"]
