From cf075d17e9e2a3e063bd289d43e16c73468fc00f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=A8=E8=90=BD=E5=9F=BA=E5=9B=B4=E8=99=BE?= <3161880837@qq.com> Date: Thu, 30 Apr 2026 21:30:28 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=AD=90=E5=BC=B9):=20=E4=B8=BA=E6=89=AB?= =?UTF-8?q?=E5=B8=9A=E5=AD=90=E5=BC=B9=E6=B7=BB=E5=8A=A0=E5=9F=BA=E7=A1=80?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加displayName、speed、motionType等基础属性配置,用于控制子弹行为和显示 --- components/Bullets/SwingSword.tscn | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/Bullets/SwingSword.tscn b/components/Bullets/SwingSword.tscn index 6100436..7128ba9 100644 --- a/components/Bullets/SwingSword.tscn +++ b/components/Bullets/SwingSword.tscn @@ -240,6 +240,12 @@ size = Vector2(259.81308, 36.189156) [node name="SwingSword" unique_id=5571707 instance=ExtResource("1_f7kh1")] script = ExtResource("2_23nu4") +displayName = "扫帚" +speed = 15.0 +motionType = 0 +penerate = 1.0 +autoSpawnAnimation = true +freeAfterSpawn = true [node name="texture" parent="." index="0" unique_id=162977358] scale = Vector2(2, 2)