From b657f83aaf7a7ddaa49c81920e6aa94af45d1042 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: Sat, 6 Sep 2025 17:01:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E5=AD=90=E5=BC=B9?= =?UTF-8?q?=E9=A3=9E=E8=A1=8C=E8=B7=9D=E7=A6=BB=E5=92=8C=E9=80=9F=E5=BA=A6?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将VectorStar子弹的lifeDistance从3000减少到2000,并调整速度计算中的分母从20改为30,以平衡游戏难度 --- components/Bullets/VectorStar.tscn | 2 +- scripts/Contents/Bullets/VectorStar.gd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Bullets/VectorStar.tscn b/components/Bullets/VectorStar.tscn index 711f882..9a6a0b0 100644 --- a/components/Bullets/VectorStar.tscn +++ b/components/Bullets/VectorStar.tscn @@ -43,7 +43,7 @@ alpha_curve = SubResource("CurveTexture_c22if") [node name="VectorStar" instance=ExtResource("1_fyvdf")] script = ExtResource("2_1u5ed") -lifeDistance = 3000.0 +lifeDistance = 2000.0 [node name="texture" parent="." index="0"] rotation = 0.0174533 diff --git a/scripts/Contents/Bullets/VectorStar.gd b/scripts/Contents/Bullets/VectorStar.gd index 5320a51..fa61620 100644 --- a/scripts/Contents/Bullets/VectorStar.gd +++ b/scripts/Contents/Bullets/VectorStar.gd @@ -11,7 +11,7 @@ func ai(): if timeLived() <= forwardTime: speed = 10 * ((forwardTime - timeLived()) / forwardTime) elif forwarded: - speed = (timeLived() - forwardTime) / 20 + speed = (timeLived() - forwardTime) / 30 else: forwarded = true if is_instance_valid(tracer):