[gd_scene format=4 uid="uid://c681o3efaii8a"]

[ext_resource type="Script" uid="uid://5e157vdk6175" path="res://addons/reedscene/scene/ReedScene.gd" id="1_coo21"]
[ext_resource type="Script" uid="uid://bh066o84byplh" path="res://addons/reedscene/scene/ReedSceneID.gd" id="2_2f3k5"]
[ext_resource type="Script" uid="uid://dn0ksjoswquf5" path="res://addons/reedscene/scene/SceneManager.gd" id="3_vgljd"]
[ext_resource type="Script" uid="uid://ons77en82uls" path="res://addons/reedscene/scene/scene_trigger/base/SceneTrigger.gd" id="4_tc78f"]
[ext_resource type="Resource" uid="uid://bym4pb0ellj7b" path="res://_scene/scene_trigger_resource/default_switch.tres" id="5_8j2uk"]
[ext_resource type="Script" uid="uid://dsgl7lbyjsiif" path="res://addons/reedscene/act/ActManager.gd" id="6_28kj4"]
[ext_resource type="Script" uid="uid://fxpk2ot6otfh" path="res://addons/reedscene/act/Act.gd" id="7_p2qrl"]
[ext_resource type="Script" uid="uid://baqgorvlumyju" path="res://addons/reedscene/act/SingleAct.gd" id="8_42yu5"]
[ext_resource type="Script" uid="uid://pxjf5vst08eo" path="res://addons/reedscene/prop/PropManager.gd" id="9_uwyk8"]
[ext_resource type="PackedScene" uid="uid://bflwr7cryd2l0" path="res://_camera/CameraAnchor.tscn" id="10_7pev2"]
[ext_resource type="Script" uid="uid://b4menkyub4ce7" path="res://addons/reedscene/prop/PropComponent.gd" id="11_61kn0"]
[ext_resource type="Script" uid="uid://di41kt2tj34c2" path="res://addons/reedscene/prop/StateManager.gd" id="12_mdl1e"]
[ext_resource type="Script" uid="uid://7lml6d1t5xtq" path="res://addons/reedscene/prop/PropState.gd" id="13_kb8l4"]
[ext_resource type="Script" uid="uid://cdvgq0xqdbagk" path="res://addons/reedscene/prop/Effect/ReedPropEffect.gd" id="14_jsj1s"]
[ext_resource type="Resource" uid="uid://bjjxh7g7iosla" path="res://_props/_camera/camera_anchor_disable.tres" id="15_3alld"]
[ext_resource type="Resource" uid="uid://458r8rf7x02p" path="res://_props/_camera/camera_anchor_enable.tres" id="16_1fy8b"]
[ext_resource type="PackedScene" uid="uid://bonrls3iuhdqb" path="res://_props/_prefabs/player/player_trigger_volumn.tscn" id="17_pm3pc"]
[ext_resource type="Resource" uid="uid://dd4df6yjkeifa" path="res://_props/_prefabs/player/effect/player_trigger_volumn_disable.tres" id="18_empmf"]
[ext_resource type="Resource" uid="uid://b6iglvt36pm55" path="res://_props/_prefabs/player/effect/player_trigger_volumn_enable.tres" id="19_5kmvp"]
[ext_resource type="PackedScene" uid="uid://cxgcmdxlbwwjh" path="res://_props/_prefabs/player/player_respawn_point.tscn" id="20_hxde8"]
[ext_resource type="Script" uid="uid://bf1qlvdbf8qdp" path="res://addons/reedscene/prop/Effect/EAT_CallFunc.gd" id="21_hsocq"]
[ext_resource type="Script" uid="uid://8cqs3i8sr8b1" path="res://addons/reedscene/prop/Effect/ETT_Owner.gd" id="22_58jeo"]
[ext_resource type="TileSet" uid="uid://doepkfp83k0lb" path="res://_tileset/test.tres" id="23_di7tg"]
[ext_resource type="PackedScene" uid="uid://degt1t2y08udg" path="res://_props/dark_material_ball/dark_material_ball.tscn" id="24_xfvof"]
[ext_resource type="PackedScene" uid="uid://bju8jr1w4d60m" path="res://_props/spring/spring.tscn" id="25_mvmeo"]
[ext_resource type="PackedScene" uid="uid://cpbaoqfc2kq80" path="res://_props/move_plateform/path_drive_move_plateform/PathDriveMovePlateform.tscn" id="26_cp6k1"]
[ext_resource type="PackedScene" uid="uid://iv8w7iisdqm0" path="res://_props/fragile_rock/fragile_rock.tscn" id="27_84s01"]
[ext_resource type="PackedScene" uid="uid://knrcnoedxvm6" path="res://_props/trigger_fall_rock_hazard/trigger_fall_rock_hazard.tscn" id="28_2f3k5"]

[sub_resource type="Resource" id="Resource_6bhoi"]
script = ExtResource("8_42yu5")
metadata/_custom_type_script = "uid://baqgorvlumyju"

[sub_resource type="Resource" id="Resource_0dl6r"]
script = ExtResource("8_42yu5")
state_id = 1
metadata/_custom_type_script = "uid://baqgorvlumyju"

[sub_resource type="Resource" id="Resource_pfh14"]
script = ExtResource("8_42yu5")
metadata/_custom_type_script = "uid://baqgorvlumyju"

[sub_resource type="Resource" id="Resource_sv1n5"]
script = ExtResource("7_p2qrl")
prop_state_map = Dictionary[int, ExtResource("8_42yu5")]({
0: SubResource("Resource_6bhoi"),
1: SubResource("Resource_0dl6r"),
2: SubResource("Resource_pfh14")
})
metadata/_custom_type_script = "uid://fxpk2ot6otfh"

[sub_resource type="Resource" id="Resource_rvnvs"]
script = ExtResource("8_42yu5")
state_id = 1
metadata/_custom_type_script = "uid://baqgorvlumyju"

[sub_resource type="Resource" id="Resource_3jyxx"]
script = ExtResource("8_42yu5")
metadata/_custom_type_script = "uid://baqgorvlumyju"

[sub_resource type="Resource" id="Resource_dalgl"]
script = ExtResource("8_42yu5")
state_id = 1
metadata/_custom_type_script = "uid://baqgorvlumyju"

[sub_resource type="Resource" id="Resource_fwmv2"]
script = ExtResource("7_p2qrl")
prop_state_map = Dictionary[int, ExtResource("8_42yu5")]({
0: SubResource("Resource_rvnvs"),
1: SubResource("Resource_3jyxx"),
2: SubResource("Resource_dalgl")
})
metadata/_custom_type_script = "uid://fxpk2ot6otfh"

[sub_resource type="RectangleShape2D" id="RectangleShape2D_nvw5u"]
size = Vector2(745, 470.73492)

[sub_resource type="Resource" id="Resource_ctwrc"]
script = ExtResource("21_hsocq")
func_name = &"pop_respawner"
metadata/_custom_type_script = "uid://bf1qlvdbf8qdp"

[sub_resource type="Resource" id="Resource_0u6xi"]
script = ExtResource("22_58jeo")

[sub_resource type="Resource" id="Resource_r0e2c"]
script = ExtResource("14_jsj1s")
effect_target_type = SubResource("Resource_0u6xi")
effect_apply_type = SubResource("Resource_ctwrc")
metadata/_custom_type_script = "uid://cdvgq0xqdbagk"

[sub_resource type="Resource" id="Resource_hatj6"]
script = ExtResource("21_hsocq")
func_name = &"push_respawner"
metadata/_custom_type_script = "uid://bf1qlvdbf8qdp"

[sub_resource type="Resource" id="Resource_o2v7x"]
script = ExtResource("22_58jeo")

[sub_resource type="Resource" id="Resource_ubvm0"]
script = ExtResource("14_jsj1s")
effect_target_type = SubResource("Resource_o2v7x")
effect_apply_type = SubResource("Resource_hatj6")
metadata/_custom_type_script = "uid://cdvgq0xqdbagk"

[sub_resource type="Curve2D" id="Curve2D_mnuxl"]
_data = {
"points": PackedVector2Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -615.515)
}
point_count = 2

[sub_resource type="Curve2D" id="Curve2D_e364f"]
_data = {
"points": PackedVector2Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -286.44092, -112.76587)
}
point_count = 2

[node name="L1_S10_R4" type="Node2D" unique_id=1598546581]
editor_description = "右侧落石触发后击中龟裂岩层，形成两条通路：向上前往l1_s10_3；向下打通l1_s10_1的路"
script = ExtResource("1_coo21")
metadata/_custom_type_script = "uid://5e157vdk6175"

[node name="[Invalid!]" type="Node" parent="." unique_id=646196142]
script = ExtResource("2_2f3k5")

[node name="SceneManager" type="Node" parent="." unique_id=401167145]
script = ExtResource("3_vgljd")
quick_trigger = Array[ExtResource("4_tc78f")]([ExtResource("5_8j2uk")])

[node name="ActManager" type="Node" parent="." unique_id=763626072]
script = ExtResource("6_28kj4")
prop_state_map = Dictionary[int, ExtResource("7_p2qrl")]({
0: SubResource("Resource_sv1n5"),
1: SubResource("Resource_fwmv2")
})
init_act_id = 0

[node name="Props" type="Node2D" parent="." unique_id=171021219]
script = ExtResource("9_uwyk8")

[node name="CameraAnchor" parent="Props" unique_id=901470129 instance=ExtResource("10_7pev2")]
position = Vector2(1985, -1884)
zoom = Vector2(1, 1)
limit_top = -185
limit_bottom = 185
limit_left = -320
limit_right = 290

[node name="[Prop_0000]" type="Node" parent="Props/CameraAnchor" unique_id=2107924787]
script = ExtResource("11_61kn0")
prop_id = 0

[node name="States" type="Node" parent="Props/CameraAnchor/[Prop_0000]" unique_id=431268830]
script = ExtResource("12_mdl1e")

[node name="[ID_0] Disable" type="Node" parent="Props/CameraAnchor/[Prop_0000]/States" unique_id=1989686279]
script = ExtResource("13_kb8l4")
state_id = 0
effects = Array[ExtResource("14_jsj1s")]([ExtResource("15_3alld")])

[node name="[ID_1] Enable" type="Node" parent="Props/CameraAnchor/[Prop_0000]/States" unique_id=1332631643]
script = ExtResource("13_kb8l4")
state_id = 1
effects = Array[ExtResource("14_jsj1s")]([ExtResource("16_1fy8b")])

[node name="PlayerTriggerVolumn" parent="Props" unique_id=482697410 instance=ExtResource("17_pm3pc")]
position = Vector2(2173, -1994)

[node name="CollisionShape2D" type="CollisionShape2D" parent="Props/PlayerTriggerVolumn" unique_id=1008103022]
position = Vector2(-132.5, 144.63257)
shape = SubResource("RectangleShape2D_nvw5u")
debug_color = Color(0.56463546, 0.55446386, 0.07705598, 0.41960785)

[node name="[Prop_0001]" type="Node" parent="Props/PlayerTriggerVolumn" unique_id=1211005631]
script = ExtResource("11_61kn0")
prop_id = 1

[node name="States" type="Node" parent="Props/PlayerTriggerVolumn/[Prop_0001]" unique_id=982089992]
script = ExtResource("12_mdl1e")

[node name="[ID_0] Disable" type="Node" parent="Props/PlayerTriggerVolumn/[Prop_0001]/States" unique_id=483138117]
script = ExtResource("13_kb8l4")
state_id = 0
effects = Array[ExtResource("14_jsj1s")]([ExtResource("18_empmf")])

[node name="[ID_1] Enable" type="Node" parent="Props/PlayerTriggerVolumn/[Prop_0001]/States" unique_id=1044439139]
script = ExtResource("13_kb8l4")
state_id = 1
effects = Array[ExtResource("14_jsj1s")]([ExtResource("19_5kmvp")])

[node name="PlayerRespawnPoint" parent="Props" unique_id=924964703 instance=ExtResource("20_hxde8")]
position = Vector2(2683, -2158)

[node name="[Prop_0002]" type="Node" parent="Props/PlayerRespawnPoint" unique_id=339110471]
script = ExtResource("11_61kn0")
prop_id = 2

[node name="States" type="Node" parent="Props/PlayerRespawnPoint/[Prop_0002]" unique_id=1050487094]
script = ExtResource("12_mdl1e")

[node name="[ID_0] Disable" type="Node" parent="Props/PlayerRespawnPoint/[Prop_0002]/States" unique_id=429861633]
script = ExtResource("13_kb8l4")
state_id = 0
effects = Array[ExtResource("14_jsj1s")]([SubResource("Resource_r0e2c")])

[node name="[ID_1] Enable" type="Node" parent="Props/PlayerRespawnPoint/[Prop_0002]/States" unique_id=2071507006]
script = ExtResource("13_kb8l4")
state_id = 1
effects = Array[ExtResource("14_jsj1s")]([SubResource("Resource_ubvm0")])

[node name="TileMapLayer" type="TileMapLayer" parent="." unique_id=262089249 groups=["GRAPABLE"]]
tile_map_data = PackedByteArray("[encoded data, 6852 characters]")
tile_set = ExtResource("23_di7tg")

[node name="DarkMaterialBall1" parent="." unique_id=1756169681 instance=ExtResource("24_xfvof")]
position = Vector2(1873, -1889)

[node name="DarkMaterialBall5" parent="." unique_id=1292156008 instance=ExtResource("24_xfvof")]
position = Vector2(3067, -1725)

[node name="DarkMaterialBall2" parent="." unique_id=1467718736 instance=ExtResource("24_xfvof")]
position = Vector2(2081, -1888)

[node name="DarkMaterialBall3" parent="." unique_id=1921790574 instance=ExtResource("24_xfvof")]
position = Vector2(3043, -1926)

[node name="spring1" parent="." unique_id=256634506 instance=ExtResource("25_mvmeo")]
position = Vector2(2376, -1736)
scale = Vector2(2.99, 0.98)

[node name="spring2" parent="." unique_id=1912786554 instance=ExtResource("25_mvmeo")]
position = Vector2(2744, -1824)
rotation = 1.5707964
scale = Vector2(2, 1)
jump_speed = 600.0

[node name="spring3" parent="." unique_id=1328404229 instance=ExtResource("25_mvmeo")]
position = Vector2(2776, -1936)
rotation = 1.5707964
scale = Vector2(2, 1)
jump_speed = 600.0

[node name="PathDriveMovePlateform1" parent="." unique_id=806243363 instance=ExtResource("26_cp6k1")]
position = Vector2(3280, -1872)
move_speed = 300.0
returning_speed = 100.0
acceleration = 1000.0

[node name="MovablePlateform" parent="PathDriveMovePlateform1" index="0"]
scale = Vector2(0.5, 0.5)

[node name="Path2D" parent="PathDriveMovePlateform1" index="1"]
scale = Vector2(1.1618448, 0.8050002)
curve = SubResource("Curve2D_mnuxl")

[node name="PathDriveMovePlateform2" parent="." unique_id=658045679 instance=ExtResource("26_cp6k1")]
position = Vector2(3200, -2048)
move_speed = 300.0
returning_speed = 100.0
acceleration = 1000.0

[node name="MovablePlateform" parent="PathDriveMovePlateform2" index="0"]
scale = Vector2(0.5, 0.5)

[node name="Path2D" parent="PathDriveMovePlateform2" index="1"]
scale = Vector2(0.59000033, 0.9399998)
curve = SubResource("Curve2D_e364f")

[node name="FragileRock1" parent="." unique_id=2033500670 instance=ExtResource("27_84s01")]
position = Vector2(3280, -1936)
scale = Vector2(1.33, 1.33)

[node name="FragileRock2" parent="." unique_id=1907887394 instance=ExtResource("27_84s01")]
position = Vector2(3280, -2001)
scale = Vector2(1.33, 1.33)

[node name="FragileRock3" parent="." unique_id=2018915423 instance=ExtResource("27_84s01")]
position = Vector2(3280, -2065)
scale = Vector2(1.33, 1.33)

[node name="FragileRock4" parent="." unique_id=1677529292 instance=ExtResource("27_84s01")]
position = Vector2(3280, -2129)
scale = Vector2(1.33, 1.33)

[node name="FragileRock5" parent="." unique_id=1741835581 instance=ExtResource("27_84s01")]
position = Vector2(2328, -1655)

[node name="FragileRock6" parent="." unique_id=1101793386 instance=ExtResource("27_84s01")]
position = Vector2(2328, -1704)

[node name="TriggerFallRock_Hazard" parent="." unique_id=891552479 instance=ExtResource("28_2f3k5")]
position = Vector2(2328, -1930.0001)
scale = Vector2(0.9, 0.9)
metadata/_edit_group_ = true

[node name="TriggerFallRock_Hazard2" parent="." unique_id=1768473998 instance=ExtResource("28_2f3k5")]
position = Vector2(2184, -1950)
scale = Vector2(0.9, 0.9)

[connection signal="player_entered" from="Props/PlayerTriggerVolumn" to="SceneManager" method="_on_player_trigger_volumn_player_entered"]

[editable path="PathDriveMovePlateform1"]
[editable path="PathDriveMovePlateform2"]
