fix: 调整游戏战斗站位与UI显示参数

1. 修正游戏地平线GAME_LINE数值,调整英雄和怪物的出生站位
2. 修改shadow预制体的缩放、尺寸和填充模式参数
3. 调整地图预制体的元素位置和尺寸
4. 优化技能动画的缩放参数和编辑器冗余配置
This commit is contained in:
panFD
2026-07-20 22:52:43 +08:00
parent 551715ef44
commit 05dc771d4e
6 changed files with 47 additions and 61 deletions

View File

@@ -13,7 +13,7 @@ export enum BoxSet {
LETF_END = -360,
RIGHT_END = 360,
//游戏地平线
GAME_LINE = -90,
GAME_LINE = 80,
}
export enum FacSet {

View File

@@ -49,12 +49,12 @@ export class MissionHeroComp extends CCComp {
/** 硬编码的6个英雄占位点 */
public static readonly HERO_POSITIONS: Vec3[] = [
v3(-175, BoxSet.GAME_LINE + 100, 0), // index 0 (node_index 1): Top Front
v3(-170, BoxSet.GAME_LINE, 0), // index 1 (node_index 2): Mid Front
v3(-175, BoxSet.GAME_LINE - 100, 0), // index 2 (node_index 3): Bot Front
v3(-280, BoxSet.GAME_LINE + 100, 0), // index 3 (node_index 4): Top Back
v3(-280, BoxSet.GAME_LINE, 0), // index 4 (node_index 5): Mid Back
v3(-280, BoxSet.GAME_LINE - 100, 0), // index 5 (node_index 6): Bot Back
v3(-180, BoxSet.GAME_LINE, 0), // index 0 (node_index 1): Top Front 第二
v3(-80, BoxSet.GAME_LINE, 0), // index 1 (node_index 2): Mid Front 第一
v3(-280, BoxSet.GAME_LINE, 0), // index 2 (node_index 3): Bot Front 第三
// v3(-280, BoxSet.GAME_LINE + 100, 0), // index 3 (node_index 4): Top Back
// v3(-280, BoxSet.GAME_LINE, 0), // index 4 (node_index 5): Mid Back
// v3(-280, BoxSet.GAME_LINE - 100, 0), // index 5 (node_index 6): Bot Back
];
/** 英雄出生时的掉落高度(从空中落到地面的像素差) */

View File

@@ -39,21 +39,21 @@ export class MissionMonCompComp extends CCComp {
/** 硬编码的 12 个怪物占位点 (3行4列) */
public static readonly MON_POSITIONS: Vec3[] = [
// 第 1 列 (X=60)
v3(0, BoxSet.GAME_LINE + 100, 0), // index 0: Top
v3(0, BoxSet.GAME_LINE, 0), // index 0: Top
v3(0, BoxSet.GAME_LINE, 0), // index 1: Mid
v3(0, BoxSet.GAME_LINE - 100, 0), // index 2: Bot
v3(0, BoxSet.GAME_LINE, 0), // index 2: Bot
// 第 2 列 (X=140)
v3(90, BoxSet.GAME_LINE + 100, 0), // index 3: Top
v3(90, BoxSet.GAME_LINE, 0), // index 3: Top
v3(90, BoxSet.GAME_LINE, 0), // index 4: Mid
v3(90, BoxSet.GAME_LINE - 100, 0), // index 5: Bot
v3(90, BoxSet.GAME_LINE, 0), // index 5: Bot
// 第 3 列 (X=220)
v3(180, BoxSet.GAME_LINE + 100, 0), // index 6: Top
v3(180, BoxSet.GAME_LINE, 0), // index 6: Top
v3(180, BoxSet.GAME_LINE, 0), // index 7: Mid
v3(180, BoxSet.GAME_LINE - 100, 0), // index 8: Bot
v3(180, BoxSet.GAME_LINE, 0), // index 8: Bot
// 第 4 列 (X=300)
v3(270, BoxSet.GAME_LINE + 100, 0), // index 9: Top
v3(270, BoxSet.GAME_LINE, 0), // index 9: Top
v3(270, BoxSet.GAME_LINE, 0), // index 10: Mid
v3(270, BoxSet.GAME_LINE - 100, 0), // index 11: Bot
v3(270, BoxSet.GAME_LINE, 0), // index 11: Bot
];
// ======================== 编辑器属性 ========================