From 8d27a4bef3ca5eb6800d587549d0691e97034268 Mon Sep 17 00:00:00 2001 From: panw Date: Mon, 25 May 2026 09:23:43 +0800 Subject: [PATCH] =?UTF-8?q?refactor(map):=20=E8=B0=83=E6=95=B4=E8=8B=B1?= =?UTF-8?q?=E9=9B=84=E7=AB=99=E4=BD=8D=E5=9D=90=E6=A0=87=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 微调6个英雄占位的坐标数值,优化布局显示效果 --- assets/script/game/map/MissionHeroComp.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/script/game/map/MissionHeroComp.ts b/assets/script/game/map/MissionHeroComp.ts index 97ebc19c..2aa4c1e6 100644 --- a/assets/script/game/map/MissionHeroComp.ts +++ b/assets/script/game/map/MissionHeroComp.ts @@ -55,12 +55,12 @@ export class MissionHeroComp extends CCComp { /** 硬编码的6个英雄占位点 */ public static readonly HERO_POSITIONS: Vec3[] = [ - v3(-200, BoxSet.GAME_LINE + 100, 0), // index 0 (node_index 1): Top Front - v3(-200, BoxSet.GAME_LINE, 0), // index 1 (node_index 2): Mid Front - v3(-200, BoxSet.GAME_LINE - 100, 0), // index 2 (node_index 3): Bot Front - v3(-300, BoxSet.GAME_LINE + 100, 0), // index 3 (node_index 4): Top Back - v3(-300, BoxSet.GAME_LINE, 0), // index 4 (node_index 5): Mid Back - v3(-300, BoxSet.GAME_LINE - 100, 0), // index 5 (node_index 6): Bot Back + v3(-185, BoxSet.GAME_LINE + 90, 0), // index 0 (node_index 1): Top Front + v3(-170, BoxSet.GAME_LINE, 0), // index 1 (node_index 2): Mid Front + v3(-200, BoxSet.GAME_LINE - 90, 0), // index 2 (node_index 3): Bot Front + v3(-285, BoxSet.GAME_LINE + 90, 0), // index 3 (node_index 4): Top Back + v3(-270, BoxSet.GAME_LINE, 0), // index 4 (node_index 5): Mid Back + v3(-300, BoxSet.GAME_LINE - 90, 0), // index 5 (node_index 6): Bot Back ]; /** 英雄出生时的掉落高度(从空中落到地面的像素差) */