From 813ecfcf692719d5a92e98cea7c717d3940cb313 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: Wed, 1 Oct 2025 07:58:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=AD=90=E5=BC=B9):=20=E7=A7=BB=E9=99=A4hi?= =?UTF-8?q?tbox=E4=BD=8D=E7=BD=AE=E5=81=8F=E7=A7=BB=E5=B9=B6=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=B0=8F=E6=B0=B4=E6=99=B6=E7=A2=B0=E6=92=9E=E5=8D=8A?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除紫色水晶子弹的hitbox位置偏移属性,使碰撞检测更准确 同时调整小水晶子弹的碰撞半径从2.23607增加到5.0 --- components/Bullets/PurpleCrystal.tscn | 1 - components/Bullets/PurpleCrystalSmall.tscn | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/components/Bullets/PurpleCrystal.tscn b/components/Bullets/PurpleCrystal.tscn index 79e63fd..ac377a7 100644 --- a/components/Bullets/PurpleCrystal.tscn +++ b/components/Bullets/PurpleCrystal.tscn @@ -26,5 +26,4 @@ lifeTime = 1000.0 sprite_frames = SubResource("SpriteFrames_r86b3") [node name="hitbox" parent="." index="1"] -position = Vector2(-33, 0) shape = SubResource("CircleShape2D_ty1as") diff --git a/components/Bullets/PurpleCrystalSmall.tscn b/components/Bullets/PurpleCrystalSmall.tscn index cfd2601..dcb8120 100644 --- a/components/Bullets/PurpleCrystalSmall.tscn +++ b/components/Bullets/PurpleCrystalSmall.tscn @@ -16,7 +16,7 @@ animations = [{ }] [sub_resource type="CircleShape2D" id="CircleShape2D_gdnkp"] -radius = 2.23607 +radius = 5.0 [node name="PurpleCrystalSmall" instance=ExtResource("1_7tnrb")] modulate = Color(1.5, 1.5, 1.5, 1) @@ -31,5 +31,4 @@ scale = Vector2(0.6, 0.6) sprite_frames = SubResource("SpriteFrames_r86b3") [node name="hitbox" parent="." index="1"] -position = Vector2(-17, 0) shape = SubResource("CircleShape2D_gdnkp")