From da29d4d33df8ec469aab94384b78671179f1d4d7 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 18:44:50 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=9C=BA=E6=99=AF):=20=E7=A7=BB?= =?UTF-8?q?=E9=99=A4shan=E7=A2=B0=E6=92=9E=E4=BD=93=E5=B9=B6=E8=B0=83?= =?UTF-8?q?=E6=95=B4shan2=E7=A2=B0=E6=92=9E=E4=BD=93=E5=9D=90=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除不再需要的shan碰撞体多边形,并更新shan2碰撞体的顶点坐标以匹配新的地形需求 --- components/Scenes/World.tscn | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/components/Scenes/World.tscn b/components/Scenes/World.tscn index 6612ca4..3c585f5 100644 --- a/components/Scenes/World.tscn +++ b/components/Scenes/World.tscn @@ -105,10 +105,7 @@ shape = SubResource("CircleShape2D_4hkht") position = Vector2(251, 118) shape = SubResource("CircleShape2D_4y8st") -[node name="shan" type="CollisionPolygon2D" parent="map"] -polygon = PackedVector2Array(-2391, -370, -1721, -405, -1307, -662, -1217, -1181, -995, -1272, -531, -1146, -486, -1050, -461, -838, -380, -778, -325, -476, -229, -571, -123, -592, -22, -279, 129, -188, 527, -138, 764, -183, 920, -466, 1036, -627, 1167, -617, 1182, -219, 1364, -123, 1414, -309, 1454, -823, 1747, -793, 1691, -319, 1721, -148, 2039, -17, 2377, 13, 2417, -1821, -2411, -1846) - [node name="shan2" type="CollisionPolygon2D" parent="map"] -polygon = PackedVector2Array(-2427, -357, -2419, 1803, 2429, 1825, 2391, -266, 2731, -266, 2723, 2241, -3318, 2158, -2910, -923, -2427, -863) +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) [node name="rooster" parent="." groups=["players"] instance=ExtResource("3_5ui6q")]