fix(hero): 调整移动系统y轴位置偏移值

将LINE2和LINE3的偏移量从15调整为30,并移除LINE4的配置,使英雄移动路径更符合设计需求
This commit is contained in:
walkpan
2026-03-15 19:41:38 +08:00
parent d98e7aefca
commit 72fe6d3580

View File

@@ -38,9 +38,9 @@ interface MoveFacConfig {
export class MoveSystem extends ecs.ComblockSystem implements ecs.ISystemUpdate {
private readonly ySlots = [
{ offset: 0, lineName: "LINE1" },
{ offset: 15, lineName: "LINE2" },
{ offset: -15, lineName: "LINE3" },
{ offset: 30, lineName: "LINE4" },
{ offset: 30, lineName: "LINE2" },
{ offset: -30, lineName: "LINE3" },
// { offset: 30, lineName: "LINE4" },
];
private readonly samePointXThreshold = 12;
private readonly samePointYThreshold = 3;