fix(game): 调整游戏地平线高度和移动系统位置参数
- 将游戏地平线从 -165 调整为 -140,以优化视觉表现 - 修改移动系统的Y轴位置偏移量,使角色移动更符合设计需求 - 更新地图预制体中的组件引用和布局配置 - 删除未使用的资源文件 mon.meta
This commit is contained in:
@@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"ver": "1.2.0",
|
|
||||||
"importer": "directory",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "abd9ad63-8d8c-4a2c-baed-e9a46802227c",
|
|
||||||
"files": [],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {}
|
|
||||||
}
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -18,7 +18,7 @@ export enum BoxSet {
|
|||||||
LETF_END = -420,
|
LETF_END = -420,
|
||||||
RIGHT_END = 420,
|
RIGHT_END = 420,
|
||||||
//游戏地平线
|
//游戏地平线
|
||||||
GAME_LINE = -165
|
GAME_LINE = -140
|
||||||
//攻击距离
|
//攻击距离
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -37,10 +37,10 @@ interface MoveFacConfig {
|
|||||||
@ecs.register('MoveSystem')
|
@ecs.register('MoveSystem')
|
||||||
export class MoveSystem extends ecs.ComblockSystem implements ecs.ISystemUpdate {
|
export class MoveSystem extends ecs.ComblockSystem implements ecs.ISystemUpdate {
|
||||||
private readonly ySlots = [
|
private readonly ySlots = [
|
||||||
{ offset: 0, lineName: "LINE2" },
|
{ offset: 0, lineName: "LINE1" },
|
||||||
{ offset: 5, lineName: "LINE1" },
|
{ offset: 15, lineName: "LINE2" },
|
||||||
{ offset: -5, lineName: "LINE3" },
|
{ offset: -15, lineName: "LINE3" },
|
||||||
{ offset: -10, lineName: "LINE4" },
|
{ offset: 30, lineName: "LINE4" },
|
||||||
];
|
];
|
||||||
private readonly samePointXThreshold = 12;
|
private readonly samePointXThreshold = 12;
|
||||||
private readonly samePointYThreshold = 3;
|
private readonly samePointYThreshold = 3;
|
||||||
|
|||||||
Reference in New Issue
Block a user