From 03457d561a84bc0f72d95eee002fd74041b08ef7 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 07:22:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4BigLaser=E7=9A=84rect?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E5=81=8F=E7=A7=BB=E5=B9=B6=E9=9A=90=E8=97=8F?= =?UTF-8?q?Pause=E9=9D=A2=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复BigLaser子弹的rect节点偏移设置问题,同时默认隐藏Pause面板以避免初始显示 --- components/Bullets/BigLaser.tscn | 4 ++++ components/Scenes/FullscreenPanels/Pause.tscn | 1 + 2 files changed, 5 insertions(+) diff --git a/components/Bullets/BigLaser.tscn b/components/Bullets/BigLaser.tscn index 24b3de5..70b88b4 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/Scenes/FullscreenPanels/Pause.tscn b/components/Scenes/FullscreenPanels/Pause.tscn index a640557..1ce7347 100644 --- a/components/Scenes/FullscreenPanels/Pause.tscn +++ b/components/Scenes/FullscreenPanels/Pause.tscn @@ -8,6 +8,7 @@ font = ExtResource("2_rf3pp") font_size = 50 [node name="Pause" instance=ExtResource("1_q0gd0")] +visible = false [node name="wrapper" parent="content" index="0"] theme_override_constants/separation = 50