From d54e6ce1d6a3ea5daa3bb0df64ef290682f6d11d Mon Sep 17 00:00:00 2001 From: pan Date: Thu, 13 Aug 2026 17:29:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E6=B8=B8=E6=88=8F?= =?UTF-8?q?=E5=9C=B0=E5=B9=B3=E7=BA=BF=E9=AB=98=E5=BA=A6=E4=B8=8EUI?= =?UTF-8?q?=E3=80=81=E5=9C=BA=E6=99=AF=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 统一修正游戏内角色控制器UI位置、地图物体Y轴偏移 调整游戏地平线基准值,修复场景显示偏移问题 --- assets/resources/game/map/map_rpg.prefab | 26 ++++++++++++++++++--- assets/resources/gui/role_controller.prefab | 4 ++-- assets/script/game/common/config/GameSet.ts | 2 +- 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/assets/resources/game/map/map_rpg.prefab b/assets/resources/game/map/map_rpg.prefab index 58080fef..46e03ff4 100644 --- a/assets/resources/game/map/map_rpg.prefab +++ b/assets/resources/game/map/map_rpg.prefab @@ -1398,7 +1398,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 21.504, + "y": -31.947, "z": 0 }, "_lrot": { @@ -1875,7 +1875,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 21.504, + "y": -50.813, "z": 0 }, "_lrot": { @@ -2352,7 +2352,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 0, + "y": -150, "z": 0 }, "_lrot": { @@ -2618,6 +2618,8 @@ "__id__": 0 }, "fileId": "6bE0ieRMBGyYHdxvuJ03FA", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -3432,6 +3434,8 @@ "__id__": 0 }, "fileId": "256TxMVzhHQopA08O7v8nq", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -3471,6 +3475,8 @@ "__id__": 0 }, "fileId": "5dWwAe3IFHRJuoSicXBEs8", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -3710,6 +3716,8 @@ "__id__": 0 }, "fileId": "b9zLdCeJlE5pPiK++dLgBX", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -4388,6 +4396,8 @@ "__id__": 0 }, "fileId": "9d2p/canpFGof2O/w8JyTj", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -4427,6 +4437,8 @@ "__id__": 0 }, "fileId": "6bkL20JyRDOI6ycVYKl/ie", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -4495,6 +4507,8 @@ "__id__": 0 }, "fileId": "14GnCNU65BbJPIzLWE/Oiz", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -7363,6 +7377,8 @@ "__id__": 0 }, "fileId": "c4IqMKgXNExa5w4EAciRxE", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -8893,6 +8909,8 @@ "__id__": 0 }, "fileId": "35iAcUUYpE8akTtTCX1ITo", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -8932,6 +8950,8 @@ "__id__": 0 }, "fileId": "68Q5vEQWBINrggngtTZ7wh", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index bb86a1ea..ea8b0ca1 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -232,7 +232,7 @@ "_top": 0, "_bottom": 546.004, "_horizontalCenter": 0, - "_verticalCenter": 143, + "_verticalCenter": -7, "_isAbsLeft": true, "_isAbsRight": true, "_isAbsTop": true, @@ -276,7 +276,7 @@ "value": { "__type__": "cc.Vec3", "x": 0, - "y": 783, + "y": 633, "z": 0 } }, diff --git a/assets/script/game/common/config/GameSet.ts b/assets/script/game/common/config/GameSet.ts index 9f73b955..4c831581 100644 --- a/assets/script/game/common/config/GameSet.ts +++ b/assets/script/game/common/config/GameSet.ts @@ -13,7 +13,7 @@ export enum BoxSet { LETF_END = -360, RIGHT_END = 360, //游戏地平线 - GAME_LINE = 160, + GAME_LINE = 10, /** 技能/装备各自独立的上限 */ BOX_MAX = 6, }