mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-08 20:57:13 +08:00
refactor(Bullets): 重构格挡子弹逻辑并提取特效创建方法
将ParrierBullet中的特效创建逻辑提取到ParryEffect和ParryEntityEffect类中 修改Volcano子弹的碰撞形状为矩形并更新相关特效调用 调整MuyangDog角色的默认武器为Volcano 统一多个子弹脚本中的函数调用空格格式
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -2,14 +2,10 @@
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bs863g2s8r770" path="res://components/Abstracts/PlayerBase.tscn" id="1_y3l4w"]
|
||||
[ext_resource type="Script" uid="uid://bbmb572iba42l" path="res://scripts/Contents/Characters/MuyangDog.gd" id="2_mr6nm"]
|
||||
[ext_resource type="PackedScene" uid="uid://dqywctcj4y2xi" path="res://components/Weapons/Cogwheel.tscn" id="3_im5m5"]
|
||||
[ext_resource type="PackedScene" uid="uid://cx7nogfnv7s8t" path="res://components/Weapons/Tree.tscn" id="4_im5m5"]
|
||||
[ext_resource type="PackedScene" uid="uid://u0djqwuuysp8" path="res://components/Weapons/Volcano.tscn" id="3_e236u"]
|
||||
|
||||
[node name="MuyangDog" unique_id=1711205167 instance=ExtResource("1_y3l4w")]
|
||||
script = ExtResource("2_mr6nm")
|
||||
displayName = "牧羊犬"
|
||||
|
||||
[node name="Cogwheel" parent="weaponStore" parent_id_path=PackedInt32Array(1319091445) index="0" unique_id=89158644 instance=ExtResource("3_im5m5")]
|
||||
offset_bottom = 688.0
|
||||
|
||||
[node name="Tree" parent="weaponStore" parent_id_path=PackedInt32Array(1319091445) index="1" unique_id=185228402 instance=ExtResource("4_im5m5")]
|
||||
[node name="Volcano" parent="weaponStore" parent_id_path=PackedInt32Array(1319091445) index="0" unique_id=204992396 instance=ExtResource("3_e236u")]
|
||||
|
||||
Reference in New Issue
Block a user