From bb279c99b04f949e2b3e1ebf710296fd9cb2d0c2 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 19:39:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(World.tscn):=20=E4=BF=AE=E6=AD=A3=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=E7=A2=B0=E6=92=9E=E5=A4=9A=E8=BE=B9=E5=BD=A2=E5=BD=A2?= =?UTF-8?q?=E7=8A=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 调整shan2节点的碰撞多边形顶点坐标,确保碰撞区域准确匹配地图设计 --- components/Scenes/World.tscn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Scenes/World.tscn b/components/Scenes/World.tscn index 3c585f5..c1aac85 100644 --- a/components/Scenes/World.tscn +++ b/components/Scenes/World.tscn @@ -106,6 +106,6 @@ position = Vector2(251, 118) shape = SubResource("CircleShape2D_4y8st") [node name="shan2" type="CollisionPolygon2D" parent="map"] -polygon = PackedVector2Array(-2427, -357, -2419, 1803, 2429, 1825, 2391, -266, 2731, -266, 2723, 2241, -3318, 2158, -2797, -2582, 2959, -2528, 2753, -292, 2570, -225, 2401, -267, 2441, -1834, -2438, -1792) +polygon = PackedVector2Array(-2419, 1803, 2429, 1825, 2392, -366, 2867, -318, 2723, 2241, -2879, 2193, -2797, -2582, 2959, -2528, 2858, -347, 2420, -337, 2441, -1834, -2438, -1792) [node name="rooster" parent="." groups=["players"] instance=ExtResource("3_5ui6q")]