1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-07-09 19:42:54 +08:00

feat(子弹): 为多种子弹添加motionType属性并优化场景文件

为Wuwei、FireScan、Parrier等子弹组件添加motionType属性,用于控制子弹运动类型
同时清理了各场景文件中冗余的load_steps声明,并统一了节点唯一ID格式
This commit is contained in:
2026-04-30 06:49:18 +08:00
parent 6afc97ba10
commit 550718c742
10 changed files with 70 additions and 73 deletions
+4 -3
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=4 format=3 uid="uid://digr2lvarxtvf"]
[gd_scene format=3 uid="uid://digr2lvarxtvf"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_pwer0"]
[ext_resource type="Script" uid="uid://dqgbohkdj8rbj" path="res://scripts/Contents/Bullets/MTYSprint.gd" id="2_rion0"]
@@ -7,12 +7,13 @@
radius = 40.0
height = 150.0
[node name="MTYSprint" instance=ExtResource("1_pwer0")]
[node name="MTYSprint" unique_id=1812509993 instance=ExtResource("1_pwer0")]
script = ExtResource("2_rion0")
displayName = "撕咬"
baseDamage = 5.0
motionType = 4
penerate = 1.0
lifeTime = 500.0
[node name="hitbox" parent="." index="1"]
[node name="hitbox" parent="." index="1" unique_id=175349408]
shape = SubResource("CapsuleShape2D_rion0")