fix: 统一英雄与怪物的基础尺寸为1.15

调整Hero.ts和Mon.ts中的size变量,将英雄尺寸从1.3下调,怪物尺寸从1.0上调,使两者基础尺寸统一为1.15,以平衡游戏中的视觉比例和碰撞体验。
This commit is contained in:
panw
2026-04-08 09:12:34 +08:00
parent f86c08a77d
commit af78a3e02b
2 changed files with 2 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ export class Monster extends ecs.Entity {
// 怪物默认朝左,表现缩放固定为负向
scale=-1
// 当前怪物尺寸固定,保留变量便于后续扩展
let size=1
let size=1.15
var scene = smc.map.MapView.scene;
// 根据配置读取怪物预制体路径
var path = "game/heros/"+HeroInfo[uuid].path;