[gd_scene load_steps=13 format=3 uid="uid://c0uk51mh24sl6"]

[ext_resource type="PackedScene" uid="uid://cgdlowfuuorvi" path="res://player.tscn" id="1_wmc81"]
[ext_resource type="PackedScene" uid="uid://cjd40tsurltut" path="res://addons/platformer-assets/block-grass-large.glb" id="2_6nhbe"]
[ext_resource type="PackedScene" uid="uid://c6u7a7bisra5b" path="res://addons/platformer-assets/flowers.glb" id="3_uxyox"]
[ext_resource type="PackedScene" uid="uid://2oao5c24w74u" path="res://addons/platformer-assets/grass.glb" id="4_p6b85"]
[ext_resource type="PackedScene" uid="uid://btdarsbrym1d4" path="res://addons/platformer-assets/flag.glb" id="5_a4n4h"]
[ext_resource type="ArrayMesh" uid="uid://bqilnvlfws6xh" path="res://portal-mesh.tres" id="6_21xnk"]
[ext_resource type="Script" uid="uid://d2bvvjsibau8c" path="res://addons/simple-portal-system/scripts/portal.gd" id="7_8mrlp"]
[ext_resource type="Script" uid="uid://bkv7t4hw21byg" path="res://addons/simple-portal-system/scripts/simple_portal_teleport.gd" id="8_kco3g"]
[ext_resource type="PackedScene" uid="uid://b5x7fmpwck335" path="res://hud.tscn" id="9_afarl"]

[sub_resource type="Environment" id="Environment_7knre"]
background_mode = 1
background_color = Color(0.590126, 0.615058, 0.699408, 1)
glow_enabled = true

[sub_resource type="BoxShape3D" id="BoxShape3D_1wwjl"]
size = Vector3(2, 1, 2)

[sub_resource type="BoxShape3D" id="BoxShape3D_2wcgd"]
size = Vector3(2, 2.5, 8.79824)

[node name="Main" type="Node3D"]

[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.866023, -0.433016, 0.250001, 0, 0.499998, 0.866027, -0.500003, 0.749999, -0.43301, 0, 0, 0)
shadow_enabled = true

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_7knre")

[node name="Player" parent="." instance=ExtResource("1_wmc81")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.84696, 1.60873, -1.16561)

[node name="Island" type="Node3D" parent="."]

[node name="block-grass-large2" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 5)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large2"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large2/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large3" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 5)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large3"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large3/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large4" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 3)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large4"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large4/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large5" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 3)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large5"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large5/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large6" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 5)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large6"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large6/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large7" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 5)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large7"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large7/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large8" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 3)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large8"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large8/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large9" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 3)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large9"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large9/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large10" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 1)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large10"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large10/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large11" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 1)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large11"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large11/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large12" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large12"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large12/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large13" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 1)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large13"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large13/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large14" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -1)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large14"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large14/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large15" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -1)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large15"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large15/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large16" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -3)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large16"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large16/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large17" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -3)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large17"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large17/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large18" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -1)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large18"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large18/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large19" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -1)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large19"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large19/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large20" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -3)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large20"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large20/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large21" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -3)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large21"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large21/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large22" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -5)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large22"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large22/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large23" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -5)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large23"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large23/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large24" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -5)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large24"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large24/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="block-grass-large25" parent="Island" instance=ExtResource("2_6nhbe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -5)

[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large25"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large25/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")

[node name="flowers" parent="Island" instance=ExtResource("3_uxyox")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.31658, 1, 4.77017)

[node name="flowers2" parent="Island" instance=ExtResource("3_uxyox")]
transform = Transform3D(0.82088, 0, -0.5711, 0, 1, 0, 0.5711, 0, 0.82088, 2.6032, 1, 2.60677)

[node name="grass2" parent="Island" instance=ExtResource("4_p6b85")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.44316, 1, 0.59875)

[node name="flag2" parent="Island" instance=ExtResource("5_a4n4h")]
transform = Transform3D(-0.896199, 0, 3.34466, 0, 3.46265, 0, -3.34466, 0, -0.896199, -3.34096, 1, -5.4095)

[node name="P_bottom" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
transform = Transform3D(-20, -1.74846e-06, -3.82137e-15, 0, -8.74228e-07, 1, -1.74846e-06, 20, 4.37114e-08, 0, -15, 0)
layers = 2
cast_shadow = 0
mesh = ExtResource("6_21xnk")
script = ExtResource("7_8mrlp")
vertical_viewport_resolution = 1080
disable_viewport_distance = 55.0
destroy_disabled_viewport = false
fade_out_distance_max = 30.0
fade_out_distance_min = 28.0
fade_out_color = Color(0.590126, 0.615058, 0.699408, 1)
exit_cull_mask = 1048573
exit_portal = NodePath("../P_top")

[node name="Teleport" type="Area3D" parent="P_bottom"]
script = ExtResource("8_kco3g")

[node name="CollisionShape3D" type="CollisionShape3D" parent="P_bottom/Teleport"]
transform = Transform3D(1, 0, 0, 0, 1, -2.88658e-14, 0, 7.16227e-12, 1, 0, -3.55271e-15, -4.39912)
shape = SubResource("BoxShape3D_2wcgd")

[node name="P_top" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
transform = Transform3D(20, 0, 0, 0, -8.74228e-07, -1.1, 0, 20, -4.80825e-08, 0, 15, 0)
layers = 2
cast_shadow = 0
mesh = ExtResource("6_21xnk")
script = ExtResource("7_8mrlp")
vertical_viewport_resolution = 1080
disable_viewport_distance = 55.0
destroy_disabled_viewport = false
fade_out_distance_max = 50.0
fade_out_distance_min = 40.0
fade_out_color = Color(0.590126, 0.615058, 0.699408, 1)
exit_cull_mask = 1048573
exit_portal = NodePath("../P_bottom")

[node name="HUD" parent="." instance=ExtResource("9_afarl")]
