mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-24 12:32:29 +08:00
feat(战斗系统): 实现弹反效果并调整相关参数
- 新增Parry效果控制器及关联资源 - 为EffectController添加beforeShot钩子方法 - 调整Parrier子弹的碰撞形状和动画时长 - 实现弹反成功时的击退效果和视觉反馈 - 修改默认波次配置用于测试
This commit is contained in:
@@ -19,7 +19,7 @@ tracks/0/keys = {
|
||||
|
||||
[sub_resource type="Animation" id="Animation_li4th"]
|
||||
resource_name = "spawn"
|
||||
length = 0.5
|
||||
length = 0.3
|
||||
step = 0.01
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
@@ -29,8 +29,8 @@ tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(0, 0),
|
||||
"points": PackedFloat32Array(1, -0.25, 0, 0.1, 0, 0, -0.5, 0, 0, 0),
|
||||
"times": PackedFloat32Array(0, 0.5)
|
||||
"points": PackedFloat32Array(1, -0.25, 0, 0.1, 0, 0, -0.3, 0, 0, 0),
|
||||
"times": PackedFloat32Array(0, 0.3)
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k4ctn"]
|
||||
@@ -41,7 +41,7 @@ _data = {
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_li4th"]
|
||||
radius = 60.0
|
||||
height = 200.0
|
||||
height = 300.0
|
||||
|
||||
[node name="Parrier" instance=ExtResource("1_57y3f")]
|
||||
script = ExtResource("2_li4th")
|
||||
@@ -60,6 +60,6 @@ libraries = {
|
||||
}
|
||||
|
||||
[node name="hitbox" parent="." index="1"]
|
||||
position = Vector2(100, 0)
|
||||
position = Vector2(150, 0)
|
||||
rotation = 1.5707964
|
||||
shape = SubResource("CapsuleShape2D_li4th")
|
||||
|
||||
Reference in New Issue
Block a user