From eba66282f0ff1a6f1d542c96473f9328e90ead7a 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: Fri, 29 Aug 2025 15:08:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(Bullets):=20=E8=B0=83=E6=95=B4=E6=BF=80?= =?UTF-8?q?=E5=85=89=E5=AD=90=E5=BC=B9=E7=9A=84=E7=9F=A9=E5=BD=A2=E5=81=8F?= =?UTF-8?q?=E7=A7=BB=E5=92=8C=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 统一BigLaser和LaserSummoner的offset_bottom值为2000,并移除LaserSummoner中多余的offset_top设置 --- components/Bullets/BigLaser.tscn | 4 ++++ components/Bullets/Common/LaserSummoner.tscn | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/components/Bullets/BigLaser.tscn b/components/Bullets/BigLaser.tscn index 72ac295..8e84d1c 100644 --- a/components/Bullets/BigLaser.tscn +++ b/components/Bullets/BigLaser.tscn @@ -6,3 +6,7 @@ needEnergy = 100.0 knockback = 10.0 recoil = 4.0 + +[node name="rect" parent="texture" index="0"] +offset_top = 0.0 +offset_bottom = 2000.0 diff --git a/components/Bullets/Common/LaserSummoner.tscn b/components/Bullets/Common/LaserSummoner.tscn index 02b8d11..9f2b36e 100644 --- a/components/Bullets/Common/LaserSummoner.tscn +++ b/components/Bullets/Common/LaserSummoner.tscn @@ -216,9 +216,8 @@ sprite_frames = SubResource("SpriteFrames_yip5k") [node name="rect" type="ColorRect" parent="texture" index="0"] material = SubResource("ShaderMaterial_b2oy8") offset_left = 233.0 -offset_top = 50.0 offset_right = 333.0 -offset_bottom = 2050.0 +offset_bottom = 2000.0 rotation = -1.5708 scale = Vector2(1e-05, 1)