修改物件: trigger_fall_rock_hazard; Level1: 更改关卡-S10;S10_1;S10_2, 新建关卡-S10_3;S10_4
This commit is contained in:
parent
1a533d8e62
commit
52fa2c1f0c
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=17 format=3 uid="uid://3vc8ojbiyy5w"]
|
[gd_scene load_steps=19 format=3 uid="uid://3vc8ojbiyy5w"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://crgac4manhoud" path="res://_game/game.gd" id="1_yksyv"]
|
[ext_resource type="Script" uid="uid://crgac4manhoud" path="res://_game/game.gd" id="1_yksyv"]
|
||||||
[ext_resource type="PackedScene" uid="uid://cvqehvdjpoar4" path="res://_player/player_controller.tscn" id="2_x2i0j"]
|
[ext_resource type="PackedScene" uid="uid://cvqehvdjpoar4" path="res://_player/player_controller.tscn" id="2_x2i0j"]
|
||||||
|
|
@ -15,7 +15,9 @@
|
||||||
[ext_resource type="PackedScene" uid="uid://dcoq4q3brnkw6" path="res://_scene/level1/l1_s9.tscn" id="12_enubi"]
|
[ext_resource type="PackedScene" uid="uid://dcoq4q3brnkw6" path="res://_scene/level1/l1_s9.tscn" id="12_enubi"]
|
||||||
[ext_resource type="PackedScene" uid="uid://dsw3o2bhc8bve" path="res://_scene/level1/l1_s10.tscn" id="13_53pmm"]
|
[ext_resource type="PackedScene" uid="uid://dsw3o2bhc8bve" path="res://_scene/level1/l1_s10.tscn" id="13_53pmm"]
|
||||||
[ext_resource type="PackedScene" uid="uid://5435tmcn1h0x" path="res://_scene/level1/l1_s10_derivative/l1_s10_1.tscn" id="15_twc26"]
|
[ext_resource type="PackedScene" uid="uid://5435tmcn1h0x" path="res://_scene/level1/l1_s10_derivative/l1_s10_1.tscn" id="15_twc26"]
|
||||||
[ext_resource type="PackedScene" uid="uid://dalreo21de7vf" path="res://_scene/level1/l1_s10_derivative/l1_s10_1_1.tscn" id="16_jibn5"]
|
[ext_resource type="PackedScene" uid="uid://dalreo21de7vf" path="res://_scene/level1/l1_s10_derivative/l1_s10_2.tscn" id="16_jibn5"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://d04rrja6xhmp4" path="res://_scene/level1/l1_s10_derivative/l1_s10_3.tscn" id="17_ef7py"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://c681o3efaii8a" path="res://_scene/level1/l1_s10_derivative/l1_s10_4.tscn" id="18_5vsgs"]
|
||||||
|
|
||||||
[node name="Game" type="Node2D" groups=["PLAYER_RESPAWN"]]
|
[node name="Game" type="Node2D" groups=["PLAYER_RESPAWN"]]
|
||||||
script = ExtResource("1_yksyv")
|
script = ExtResource("1_yksyv")
|
||||||
|
|
@ -46,6 +48,10 @@ script = ExtResource("1_yksyv")
|
||||||
|
|
||||||
[node name="L1_S10" parent="." instance=ExtResource("13_53pmm")]
|
[node name="L1_S10" parent="." instance=ExtResource("13_53pmm")]
|
||||||
|
|
||||||
[node name="L1_S11" parent="." instance=ExtResource("15_twc26")]
|
[node name="L1_S10_1" parent="L1_S10" instance=ExtResource("15_twc26")]
|
||||||
|
|
||||||
[node name="L1_S10_1_1" parent="." instance=ExtResource("16_jibn5")]
|
[node name="L1_S10_2" parent="L1_S10" instance=ExtResource("16_jibn5")]
|
||||||
|
|
||||||
|
[node name="L1_S10_3" parent="L1_S10" instance=ExtResource("17_ef7py")]
|
||||||
|
|
||||||
|
[node name="L1_S10_4" parent="L1_S10" instance=ExtResource("18_5vsgs")]
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ extends Node2D
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
#$L0_S0.switch_act_by_id(1)
|
#$L0_S0.switch_act_by_id(1)
|
||||||
$L1_S1.switch_act_by_id(1)
|
#$L1_S1.switch_act_by_id(1)
|
||||||
#$L1_S2.switch_act_by_id(1)
|
#$L1_S2.switch_act_by_id(1)
|
||||||
#$L1_S3.switch_act_by_id(1)
|
#$L1_S3.switch_act_by_id(1)
|
||||||
#$L1_S4.switch_act_by_id(1)
|
#$L1_S4.switch_act_by_id(1)
|
||||||
|
|
@ -12,5 +12,8 @@ func _ready() -> void:
|
||||||
#$L1_S8.switch_act_by_id(1)
|
#$L1_S8.switch_act_by_id(1)
|
||||||
#$L1_S9.switch_act_by_id(1)
|
#$L1_S9.switch_act_by_id(1)
|
||||||
#$L1_S10.switch_act_by_id(1)
|
#$L1_S10.switch_act_by_id(1)
|
||||||
|
#$L1_S10/L1_S10_1.switch_act_by_id(1)
|
||||||
|
$L1_S10/L1_S10_2.switch_act_by_id(1)
|
||||||
|
GlobalEvent.player_follow_camera()
|
||||||
await get_tree().process_frame
|
await get_tree().process_frame
|
||||||
get_tree().call_group(&"PLAYER_RESPAWN",&"respawn_avatar")
|
get_tree().call_group(&"PLAYER_RESPAWN",&"respawn_avatar")
|
||||||
|
|
|
||||||
|
|
@ -1,46 +0,0 @@
|
||||||
extends CanvasLayer
|
|
||||||
|
|
||||||
@export var target: Node2D
|
|
||||||
@onready var rect = $ColorRect
|
|
||||||
|
|
||||||
var mat: ShaderMaterial
|
|
||||||
var last_pos: Vector2
|
|
||||||
|
|
||||||
func _ready():
|
|
||||||
mat = rect.material as ShaderMaterial
|
|
||||||
if target != null:
|
|
||||||
last_pos = target.global_position
|
|
||||||
|
|
||||||
func _process(delta: float) -> void:
|
|
||||||
if target == null:
|
|
||||||
return
|
|
||||||
|
|
||||||
if mat == null:
|
|
||||||
return
|
|
||||||
|
|
||||||
var vp_size: Vector2 = get_viewport().get_visible_rect().size
|
|
||||||
|
|
||||||
# 玩家世界坐标
|
|
||||||
var world_pos: Vector2 = target.global_position
|
|
||||||
|
|
||||||
# ✅ 世界 -> 屏幕像素坐标(包含相机影响)
|
|
||||||
var screen_pos: Vector2 = get_viewport().get_canvas_transform() * world_pos
|
|
||||||
|
|
||||||
# 速度方向(世界空间)
|
|
||||||
var vel: Vector2 = (world_pos - last_pos) / max(delta, 0.0001)
|
|
||||||
last_pos = world_pos
|
|
||||||
|
|
||||||
var speed: float = vel.length()
|
|
||||||
var dir: Vector2 = Vector2.RIGHT
|
|
||||||
if speed > 0.001:
|
|
||||||
dir = vel / speed
|
|
||||||
|
|
||||||
# ✅ 船头前移(拨水发生在玩家前面)
|
|
||||||
var front_offset_px: Vector2 = dir * 30.0
|
|
||||||
var uv_front: Vector2 = (screen_pos + front_offset_px) / vp_size
|
|
||||||
uv_front = uv_front.clamp(Vector2(0, 0), Vector2(1, 1))
|
|
||||||
|
|
||||||
|
|
||||||
mat.set_shader_parameter("obj_uv", uv_front)
|
|
||||||
mat.set_shader_parameter("obj_dir", dir)
|
|
||||||
mat.set_shader_parameter("obj_speed", clamp(speed / 600.0, 0.0, 2.0))
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
uid://c5in610cunjn2
|
|
||||||
|
|
@ -11,7 +11,7 @@ size = Vector2(52, 52)
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mvp6g"]
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mvp6g"]
|
||||||
size = Vector2(52, 108.5)
|
size = Vector2(52, 108.5)
|
||||||
|
|
||||||
[node name="TriggerFallRock_Hazard" type="Node2D"]
|
[node name="TriggerFallRock_Hazard" type="Node2D" groups=["ROCK_BREAK"]]
|
||||||
script = ExtResource("1_2ms0f")
|
script = ExtResource("1_2ms0f")
|
||||||
|
|
||||||
[node name="rock" parent="." instance=ExtResource("2_ww3ib")]
|
[node name="rock" parent="." instance=ExtResource("2_ww3ib")]
|
||||||
|
|
@ -28,10 +28,10 @@ shape = SubResource("RectangleShape2D_vv0hj")
|
||||||
debug_color = Color(0.99629647, 0, 0.19810504, 0.41960785)
|
debug_color = Color(0.99629647, 0, 0.19810504, 0.41960785)
|
||||||
|
|
||||||
[node name="PlayerTriggerVolumn" parent="." instance=ExtResource("4_s77mb")]
|
[node name="PlayerTriggerVolumn" parent="." instance=ExtResource("4_s77mb")]
|
||||||
debug_print = true
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlayerTriggerVolumn"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlayerTriggerVolumn"]
|
||||||
position = Vector2(0, -54)
|
position = Vector2(0, -4)
|
||||||
|
scale = Vector2(1, 1.92)
|
||||||
shape = SubResource("RectangleShape2D_mvp6g")
|
shape = SubResource("RectangleShape2D_mvp6g")
|
||||||
|
|
||||||
[node name="Timer" type="Timer" parent="."]
|
[node name="Timer" type="Timer" parent="."]
|
||||||
|
|
|
||||||
|
|
@ -223,19 +223,19 @@ position = Vector2(1373, -2347)
|
||||||
[node name="DarkMaterialBall3" parent="." instance=ExtResource("27_7cppx")]
|
[node name="DarkMaterialBall3" parent="." instance=ExtResource("27_7cppx")]
|
||||||
position = Vector2(1595, -2188)
|
position = Vector2(1595, -2188)
|
||||||
|
|
||||||
[node name="PathDriveMovePlateform2" parent="." instance=ExtResource("25_ldp4y")]
|
[node name="PathDriveMovePlateform" parent="." instance=ExtResource("25_ldp4y")]
|
||||||
position = Vector2(1599, -1649)
|
position = Vector2(1599, -1649)
|
||||||
move_speed = 300.0
|
move_speed = 300.0
|
||||||
returning_speed = 100.0
|
returning_speed = 100.0
|
||||||
acceleration = 1000.0
|
acceleration = 1000.0
|
||||||
|
|
||||||
[node name="MovablePlateform" parent="PathDriveMovePlateform2" index="0"]
|
[node name="MovablePlateform" parent="PathDriveMovePlateform" index="0"]
|
||||||
scale = Vector2(0.5, 0.5)
|
scale = Vector2(0.5, 0.5)
|
||||||
|
|
||||||
[node name="Path2D" parent="PathDriveMovePlateform2" index="1"]
|
[node name="Path2D" parent="PathDriveMovePlateform" index="1"]
|
||||||
scale = Vector2(1.1618448, 0.8050002)
|
scale = Vector2(1.1618448, 0.8050002)
|
||||||
curve = SubResource("Curve2D_7cppx")
|
curve = SubResource("Curve2D_7cppx")
|
||||||
|
|
||||||
[connection signal="player_entered" from="Props/PlayerTriggerVolumn" to="SceneManager" method="_on_player_trigger_volumn_player_entered"]
|
[connection signal="player_entered" from="Props/PlayerTriggerVolumn" to="SceneManager" method="_on_player_trigger_volumn_player_entered"]
|
||||||
|
|
||||||
[editable path="PathDriveMovePlateform2"]
|
[editable path="PathDriveMovePlateform"]
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,199 +0,0 @@
|
||||||
[gd_scene load_steps=39 format=4 uid="uid://dalreo21de7vf"]
|
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://5e157vdk6175" path="res://addons/reedscene/scene/ReedScene.gd" id="1_mnuxl"]
|
|
||||||
[ext_resource type="Script" uid="uid://bh066o84byplh" path="res://addons/reedscene/scene/ReedSceneID.gd" id="2_e364f"]
|
|
||||||
[ext_resource type="Script" uid="uid://dn0ksjoswquf5" path="res://addons/reedscene/scene/SceneManager.gd" id="3_yh404"]
|
|
||||||
[ext_resource type="Script" uid="uid://ons77en82uls" path="res://addons/reedscene/scene/scene_trigger/base/SceneTrigger.gd" id="4_ofnar"]
|
|
||||||
[ext_resource type="Resource" uid="uid://bym4pb0ellj7b" path="res://_scene/scene_trigger_resource/default_switch.tres" id="5_p5q0h"]
|
|
||||||
[ext_resource type="Script" uid="uid://dsgl7lbyjsiif" path="res://addons/reedscene/act/ActManager.gd" id="6_3ou40"]
|
|
||||||
[ext_resource type="Script" uid="uid://fxpk2ot6otfh" path="res://addons/reedscene/act/Act.gd" id="7_fvsmx"]
|
|
||||||
[ext_resource type="Script" uid="uid://baqgorvlumyju" path="res://addons/reedscene/act/SingleAct.gd" id="8_e0w2k"]
|
|
||||||
[ext_resource type="Script" uid="uid://pxjf5vst08eo" path="res://addons/reedscene/prop/PropManager.gd" id="9_yngeq"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://bflwr7cryd2l0" path="res://_camera/CameraAnchor.tscn" id="10_d6jpc"]
|
|
||||||
[ext_resource type="Script" uid="uid://b4menkyub4ce7" path="res://addons/reedscene/prop/PropComponent.gd" id="11_ak8va"]
|
|
||||||
[ext_resource type="Script" uid="uid://di41kt2tj34c2" path="res://addons/reedscene/prop/StateManager.gd" id="12_4vtmw"]
|
|
||||||
[ext_resource type="Script" uid="uid://7lml6d1t5xtq" path="res://addons/reedscene/prop/PropState.gd" id="13_86cav"]
|
|
||||||
[ext_resource type="Script" uid="uid://cdvgq0xqdbagk" path="res://addons/reedscene/prop/Effect/ReedPropEffect.gd" id="14_x4bta"]
|
|
||||||
[ext_resource type="Resource" uid="uid://bjjxh7g7iosla" path="res://_props/_camera/camera_anchor_disable.tres" id="15_nuehr"]
|
|
||||||
[ext_resource type="Resource" uid="uid://458r8rf7x02p" path="res://_props/_camera/camera_anchor_enable.tres" id="16_3umoa"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://bonrls3iuhdqb" path="res://_props/_prefabs/player/player_trigger_volumn.tscn" id="17_4gucy"]
|
|
||||||
[ext_resource type="Resource" uid="uid://dd4df6yjkeifa" path="res://_props/_prefabs/player/effect/player_trigger_volumn_disable.tres" id="18_ros3e"]
|
|
||||||
[ext_resource type="Resource" uid="uid://b6iglvt36pm55" path="res://_props/_prefabs/player/effect/player_trigger_volumn_enable.tres" id="19_wxvss"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://cxgcmdxlbwwjh" path="res://_props/_prefabs/player/player_respawn_point.tscn" id="20_4koe3"]
|
|
||||||
[ext_resource type="Script" uid="uid://bf1qlvdbf8qdp" path="res://addons/reedscene/prop/Effect/EAT_CallFunc.gd" id="21_11lc1"]
|
|
||||||
[ext_resource type="Script" uid="uid://8cqs3i8sr8b1" path="res://addons/reedscene/prop/Effect/ETT_Owner.gd" id="22_0gxij"]
|
|
||||||
[ext_resource type="TileSet" uid="uid://doepkfp83k0lb" path="res://_tileset/test.tres" id="23_b2ii1"]
|
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_6bhoi"]
|
|
||||||
script = ExtResource("8_e0w2k")
|
|
||||||
metadata/_custom_type_script = "uid://baqgorvlumyju"
|
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_0dl6r"]
|
|
||||||
script = ExtResource("8_e0w2k")
|
|
||||||
state_id = 1
|
|
||||||
metadata/_custom_type_script = "uid://baqgorvlumyju"
|
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_pfh14"]
|
|
||||||
script = ExtResource("8_e0w2k")
|
|
||||||
metadata/_custom_type_script = "uid://baqgorvlumyju"
|
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_sv1n5"]
|
|
||||||
script = ExtResource("7_fvsmx")
|
|
||||||
prop_state_map = Dictionary[int, ExtResource("8_e0w2k")]({
|
|
||||||
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_e0w2k")
|
|
||||||
state_id = 1
|
|
||||||
metadata/_custom_type_script = "uid://baqgorvlumyju"
|
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_3jyxx"]
|
|
||||||
script = ExtResource("8_e0w2k")
|
|
||||||
metadata/_custom_type_script = "uid://baqgorvlumyju"
|
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_dalgl"]
|
|
||||||
script = ExtResource("8_e0w2k")
|
|
||||||
state_id = 1
|
|
||||||
metadata/_custom_type_script = "uid://baqgorvlumyju"
|
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_fwmv2"]
|
|
||||||
script = ExtResource("7_fvsmx")
|
|
||||||
prop_state_map = Dictionary[int, ExtResource("8_e0w2k")]({
|
|
||||||
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(635, 1102)
|
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_ctwrc"]
|
|
||||||
script = ExtResource("21_11lc1")
|
|
||||||
func_name = &"pop_respawner"
|
|
||||||
metadata/_custom_type_script = "uid://bf1qlvdbf8qdp"
|
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_0u6xi"]
|
|
||||||
script = ExtResource("22_0gxij")
|
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_r0e2c"]
|
|
||||||
script = ExtResource("14_x4bta")
|
|
||||||
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_11lc1")
|
|
||||||
func_name = &"push_respawner"
|
|
||||||
metadata/_custom_type_script = "uid://bf1qlvdbf8qdp"
|
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_o2v7x"]
|
|
||||||
script = ExtResource("22_0gxij")
|
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_ubvm0"]
|
|
||||||
script = ExtResource("14_x4bta")
|
|
||||||
effect_target_type = SubResource("Resource_o2v7x")
|
|
||||||
effect_apply_type = SubResource("Resource_hatj6")
|
|
||||||
metadata/_custom_type_script = "uid://cdvgq0xqdbagk"
|
|
||||||
|
|
||||||
[node name="L1_S10_1_1" type="Node2D"]
|
|
||||||
script = ExtResource("1_mnuxl")
|
|
||||||
metadata/_custom_type_script = "uid://5e157vdk6175"
|
|
||||||
|
|
||||||
[node name="[Invalid!]" type="Node" parent="."]
|
|
||||||
script = ExtResource("2_e364f")
|
|
||||||
|
|
||||||
[node name="SceneManager" type="Node" parent="."]
|
|
||||||
script = ExtResource("3_yh404")
|
|
||||||
quick_trigger = Array[ExtResource("4_ofnar")]([ExtResource("5_p5q0h")])
|
|
||||||
|
|
||||||
[node name="ActManager" type="Node" parent="."]
|
|
||||||
script = ExtResource("6_3ou40")
|
|
||||||
prop_state_map = Dictionary[int, ExtResource("7_fvsmx")]({
|
|
||||||
0: SubResource("Resource_sv1n5"),
|
|
||||||
1: SubResource("Resource_fwmv2")
|
|
||||||
})
|
|
||||||
init_act_id = 0
|
|
||||||
|
|
||||||
[node name="Props" type="Node2D" parent="."]
|
|
||||||
script = ExtResource("9_yngeq")
|
|
||||||
|
|
||||||
[node name="CameraAnchor" parent="Props" instance=ExtResource("10_d6jpc")]
|
|
||||||
position = Vector2(3024, -1652)
|
|
||||||
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"]
|
|
||||||
script = ExtResource("11_ak8va")
|
|
||||||
prop_id = 0
|
|
||||||
|
|
||||||
[node name="States" type="Node" parent="Props/CameraAnchor/[Prop_0000]"]
|
|
||||||
script = ExtResource("12_4vtmw")
|
|
||||||
|
|
||||||
[node name="[ID_0] Disable" type="Node" parent="Props/CameraAnchor/[Prop_0000]/States"]
|
|
||||||
script = ExtResource("13_86cav")
|
|
||||||
state_id = 0
|
|
||||||
effects = Array[ExtResource("14_x4bta")]([ExtResource("15_nuehr")])
|
|
||||||
|
|
||||||
[node name="[ID_1] Enable" type="Node" parent="Props/CameraAnchor/[Prop_0000]/States"]
|
|
||||||
script = ExtResource("13_86cav")
|
|
||||||
state_id = 1
|
|
||||||
effects = Array[ExtResource("14_x4bta")]([ExtResource("16_3umoa")])
|
|
||||||
|
|
||||||
[node name="PlayerTriggerVolumn" parent="Props" instance=ExtResource("17_4gucy")]
|
|
||||||
position = Vector2(3072, -1648)
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Props/PlayerTriggerVolumn"]
|
|
||||||
position = Vector2(-45.5, -377)
|
|
||||||
shape = SubResource("RectangleShape2D_nvw5u")
|
|
||||||
debug_color = Color(0.23836088, 0.60513854, 0.54795414, 0.41960785)
|
|
||||||
|
|
||||||
[node name="[Prop_0001]" type="Node" parent="Props/PlayerTriggerVolumn"]
|
|
||||||
script = ExtResource("11_ak8va")
|
|
||||||
prop_id = 1
|
|
||||||
|
|
||||||
[node name="States" type="Node" parent="Props/PlayerTriggerVolumn/[Prop_0001]"]
|
|
||||||
script = ExtResource("12_4vtmw")
|
|
||||||
|
|
||||||
[node name="[ID_0] Disable" type="Node" parent="Props/PlayerTriggerVolumn/[Prop_0001]/States"]
|
|
||||||
script = ExtResource("13_86cav")
|
|
||||||
state_id = 0
|
|
||||||
effects = Array[ExtResource("14_x4bta")]([ExtResource("18_ros3e")])
|
|
||||||
|
|
||||||
[node name="[ID_1] Enable" type="Node" parent="Props/PlayerTriggerVolumn/[Prop_0001]/States"]
|
|
||||||
script = ExtResource("13_86cav")
|
|
||||||
state_id = 1
|
|
||||||
effects = Array[ExtResource("14_x4bta")]([ExtResource("19_wxvss")])
|
|
||||||
|
|
||||||
[node name="PlayerRespawnPoint" parent="Props" instance=ExtResource("20_4koe3")]
|
|
||||||
position = Vector2(2750, -1506)
|
|
||||||
|
|
||||||
[node name="[Prop_0002]" type="Node" parent="Props/PlayerRespawnPoint"]
|
|
||||||
script = ExtResource("11_ak8va")
|
|
||||||
prop_id = 2
|
|
||||||
|
|
||||||
[node name="States" type="Node" parent="Props/PlayerRespawnPoint/[Prop_0002]"]
|
|
||||||
script = ExtResource("12_4vtmw")
|
|
||||||
|
|
||||||
[node name="[ID_0] Disable" type="Node" parent="Props/PlayerRespawnPoint/[Prop_0002]/States"]
|
|
||||||
script = ExtResource("13_86cav")
|
|
||||||
state_id = 0
|
|
||||||
effects = Array[ExtResource("14_x4bta")]([SubResource("Resource_r0e2c")])
|
|
||||||
|
|
||||||
[node name="[ID_1] Enable" type="Node" parent="Props/PlayerRespawnPoint/[Prop_0002]/States"]
|
|
||||||
script = ExtResource("13_86cav")
|
|
||||||
state_id = 1
|
|
||||||
effects = Array[ExtResource("14_x4bta")]([SubResource("Resource_ubvm0")])
|
|
||||||
|
|
||||||
[node name="TileMapLayer" type="TileMapLayer" parent="." groups=["GRAPABLE"]]
|
|
||||||
tile_map_data = PackedByteArray("AACpAJr/AAAAAAAAAACpAJv/AAAAAAAAAACpAJz/AAAAAAAAAACpAJ3/AAAAAAAAAACpAJ7/AAAAAAAAAACpAKP/AAAAAAAAAACqAKP/AAAAAAAAAACrAKP/AAAAAAAAAACsAKP/AAAAAAAAAACtAKP/AAAAAAAAAACpAJn/AAAAAAAAAACpAJj/AAAAAAAAAACpAJf/AAAAAAAAAACpAJb/AAAAAAAAAACpAJX/AAAAAAAAAACpAJT/AAAAAAAAAACpAJP/AAAAAAAAAACpAJL/AAAAAAAAAACpAJH/AAAAAAAAAACpAJD/AAAAAAAAAACqAJD/AAAAAAAAAACqAI//AAAAAAAAAACqAI7/AAAAAAAAAACqAI3/AAAAAAAAAACpAI3/AAAAAAAAAACpAIz/AAAAAAAAAACpAIv/AAAAAAAAAACpAIr/AAAAAAAAAACpAIn/AAAAAAAAAACpAIj/AAAAAAAAAACpAIf/AAAAAAAAAACpAIb/AAAAAAAAAACpAIX/AAAAAAAAAACpAIT/AAAAAAAAAACpAIP/AAAAAAAAAACpAIL/AAAAAAAAAACpAIH/AAAAAAAAAACpAI//AAAAAAAAAACpAI7/AAAAAAAAAACuAKP/AAAAAAAAAACvAKP/AAAAAAAAAACwAKP/AAAAAAAAAACxAKP/AAAAAAAAAACyAKP/AAAAAAAAAACzAKP/AAAAAAAAAAC0AKP/AAAAAAAAAAC1AKP/AAAAAAAAAAC2AKP/AAAAAAAAAAC3AKP/AAAAAAAAAAC4AKP/AAAAAAAAAAC5AKP/AAAAAAAAAAC6AKP/AAAAAAAAAAC7AKP/AAAAAAAAAAC8AKP/AAAAAAAAAAC9AKP/AAAAAAAAAAC+AKP/AAAAAAAAAADIAKP/AAAAAAAAAADJAKP/AAAAAAAAAADKAKP/AAAAAAAAAADLAKP/AAAAAAAAAADMAKP/AAAAAAAAAADNAKP/AAAAAAAAAADOAKP/AAAAAAAAAADPAKP/AAAAAAAAAADQAKP/AAAAAAAAAADHAKP/AAAAAAAAAADGAKP/AAAAAAAAAADFAKP/AAAAAAAAAADEAKP/AAAAAAAAAADDAKP/AAAAAAAAAADCAKP/AAAAAAAAAADBAKP/AAAAAAAAAADAAKP/AAAAAAAAAAC/AKP/AAAAAAAAAADQAKL/AAAAAAAAAADQAKH/AAAAAAAAAADQAKD/AAAAAAAAAADQAJ//AAAAAAAAAADPAJ//AAAAAAAAAADPAJ7/AAAAAAAAAADPAJ3/AAAAAAAAAADPAJz/AAAAAAAAAADPAJv/AAAAAAAAAADQAJz/AAAAAAAAAADQAJ3/AAAAAAAAAADQAJv/AAAAAAAAAADQAJr/AAAAAAAAAADQAJ7/AAAAAAAAAADQAJn/AAAAAAAAAADQAJj/AAAAAAAAAADQAJf/AAAAAAAAAADQAJb/AAAAAAAAAADQAJX/AAAAAAAAAADQAJT/AAAAAAAAAADQAJP/AAAAAAAAAADQAJL/AAAAAAAAAADQAJH/AAAAAAAAAADQAJD/AAAAAAAAAADQAI//AAAAAAAAAADQAI7/AAAAAAAAAADQAI3/AAAAAAAAAADQAIz/AAAAAAAAAADQAIv/AAAAAAAAAADQAIr/AAAAAAAAAADPAIf/AAAAAAAAAADPAIb/AAAAAAAAAADPAIX/AAAAAAAAAADPAIT/AAAAAAAAAADPAIP/AAAAAAAAAADPAIL/AAAAAAAAAADQAIL/AAAAAAAAAADQAIH/AAAAAAAAAADQAID/AAAAAAAAAADQAH//AAAAAAAAAADQAH7/AAAAAAAAAADQAIP/AAAAAAAAAADQAIT/AAAAAAAAAADQAIX/AAAAAAAAAADQAIb/AAAAAAAAAADQAIf/AAAAAAAAAADQAIj/AAAAAAAAAADQAIn/AAAAAAAAAAA=")
|
|
||||||
tile_set = ExtResource("23_b2ii1")
|
|
||||||
|
|
||||||
[connection signal="player_entered" from="Props/PlayerTriggerVolumn" to="SceneManager" method="_on_player_trigger_volumn_player_entered"]
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -166,7 +166,7 @@ position = Vector2(344, -1608)
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Props/PlayerTriggerVolumn"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Props/PlayerTriggerVolumn"]
|
||||||
position = Vector2(-175.5, 0)
|
position = Vector2(-175.5, 0)
|
||||||
shape = SubResource("RectangleShape2D_nvw5u")
|
shape = SubResource("RectangleShape2D_nvw5u")
|
||||||
debug_color = Color(0.60555935, 0.53505707, 0.15407753, 0.41960785)
|
debug_color = Color(0.77054507, 0.42805237, 0.2495457, 0.41960785)
|
||||||
|
|
||||||
[node name="[Prop_0001]" type="Node" parent="Props/PlayerTriggerVolumn"]
|
[node name="[Prop_0001]" type="Node" parent="Props/PlayerTriggerVolumn"]
|
||||||
script = ExtResource("11_nkttg")
|
script = ExtResource("11_nkttg")
|
||||||
|
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
[gd_scene load_steps=4 format=3 uid="uid://rrlq7ucvgbsv"]
|
|
||||||
|
|
||||||
[ext_resource type="Shader" uid="uid://b14j7g5tolgq" path="res://_shader/new_shader.gdshader" id="1_kkjpc"]
|
|
||||||
[ext_resource type="Texture2D" uid="uid://cfjprjiin3dnk" path="res://_asset/ksw/normal.png" id="2_kkjpc"]
|
|
||||||
|
|
||||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_iixbh"]
|
|
||||||
shader = ExtResource("1_kkjpc")
|
|
||||||
shader_parameter/amount = 20.0
|
|
||||||
shader_parameter/move = 1.0
|
|
||||||
shader_parameter/bandsize = 0.1
|
|
||||||
shader_parameter/speed = 1.0
|
|
||||||
|
|
||||||
[node name="Ripple" type="Node2D"]
|
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
||||||
material = SubResource("ShaderMaterial_iixbh")
|
|
||||||
texture = ExtResource("2_kkjpc")
|
|
||||||
Loading…
Reference in New Issue