From b778b6d128482f2a6512fd171e28fecd59f16fca Mon Sep 17 00:00:00 2001 From: panw Date: Wed, 25 Mar 2026 15:52:23 +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=9B=BE=E5=85=83=E7=B4=A0=E5=92=8CUI=E6=8E=A7?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E4=BD=8D=E7=BD=AE=E4=B8=8E=E5=8F=AF=E8=A7=81?= =?UTF-8?q?=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 提升游戏地平线高度以改善视觉体验 - 重新定位地图中的多个对象,优化场景布局 - 隐藏部分UI控件并调整对齐方式,适配新的布局 --- assets/resources/game/map/map_rpg.prefab | 14 +++++++------- assets/resources/gui/role_controller.prefab | 16 ++++++++-------- assets/script/game/common/config/GameSet.ts | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/assets/resources/game/map/map_rpg.prefab b/assets/resources/game/map/map_rpg.prefab index 864c73a2..32160bd4 100644 --- a/assets/resources/game/map/map_rpg.prefab +++ b/assets/resources/game/map/map_rpg.prefab @@ -584,7 +584,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -195.746, + "y": -17.451, "z": 0 }, "_lrot": { @@ -720,7 +720,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 102.571, + "y": 212.041, "z": 0 }, "_lrot": { @@ -856,7 +856,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -128.047, + "y": -71.608, "z": 0 }, "_lrot": { @@ -992,7 +992,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -132.963, + "y": -68.815, "z": 0 }, "_lrot": { @@ -1128,7 +1128,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -480.208, + "y": -428.693, "z": 0 }, "_lrot": { @@ -1267,7 +1267,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -220, + "y": -170, "z": 0 }, "_lrot": { @@ -1383,7 +1383,7 @@ "_left": 0, "_right": 0, "_top": 0, - "_bottom": -170, + "_bottom": -120, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index 675757fe..7433d521 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -1384,7 +1384,7 @@ "__id__": 15 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { "__id__": 57 @@ -3968,7 +3968,7 @@ "node": { "__id__": 74 }, - "_enabled": true, + "_enabled": false, "__prefab": { "__id__": 168 }, @@ -8275,7 +8275,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -148, + "x": 358, "y": 0, "z": 0 }, @@ -8787,10 +8787,10 @@ "__prefab": { "__id__": 419 }, - "_alignFlags": 9, + "_alignFlags": 33, "_target": null, "_left": 0, - "_right": 20, + "_right": 0, "_top": 50.00000000000001, "_bottom": 1078.082, "_horizontalCenter": 0, @@ -9875,7 +9875,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 148, + "x": -358, "y": 0, "z": 0 }, @@ -11248,7 +11248,7 @@ "__prefab": { "__id__": 523 }, - "_alignFlags": 36, + "_alignFlags": 12, "_target": null, "_left": 0, "_right": 0, @@ -11262,7 +11262,7 @@ "_isAbsBottom": true, "_isAbsHorizontalCenter": true, "_isAbsVerticalCenter": true, - "_originalWidth": 0, + "_originalWidth": 210, "_originalHeight": 0, "_alignMode": 2, "_lockFlags": 0, diff --git a/assets/script/game/common/config/GameSet.ts b/assets/script/game/common/config/GameSet.ts index 8a347f3c..f2668e3a 100644 --- a/assets/script/game/common/config/GameSet.ts +++ b/assets/script/game/common/config/GameSet.ts @@ -11,7 +11,7 @@ export enum BoxSet { LETF_END = -420, RIGHT_END = 420, //游戏地平线 - GAME_LINE = -90, + GAME_LINE = -40, //攻击距离 }