1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-08 12:47:13 +08:00

refactor(Bullets): 重构格挡子弹逻辑并提取特效创建方法

将ParrierBullet中的特效创建逻辑提取到ParryEffect和ParryEntityEffect类中
修改Volcano子弹的碰撞形状为矩形并更新相关特效调用
调整MuyangDog角色的默认武器为Volcano
统一多个子弹脚本中的函数调用空格格式
This commit is contained in:
2026-05-10 22:30:22 +08:00
parent 0fe8daabb2
commit c52d293718
10 changed files with 40 additions and 40 deletions
+3 -3
View File
@@ -183,8 +183,8 @@ _data = {
&"spawn": SubResource("Animation_o5h0y")
}
[sub_resource type="CircleShape2D" id="CircleShape2D_1sgli"]
radius = 78.05767
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1sgli"]
size = Vector2(23.999994, 124)
[node name="Volcano" unique_id=2046549391 instance=ExtResource("1_gd3m7")]
script = ExtResource("2_w1utg")
@@ -212,7 +212,7 @@ texture = ExtResource("2_wwxm2")
[node name="hitbox" parent="." index="1" unique_id=175349408 node_paths=PackedStringArray("target")]
position = Vector2(299.99997, 0.1221919)
rotation = 0.00040731629
shape = SubResource("CircleShape2D_1sgli")
shape = SubResource("RectangleShape2D_1sgli")
script = ExtResource("7_1sgli")
target = NodePath("../texture/anchor/textureSword")
offsetRotation = 45.0