Files
pixelheros/assets/script/game/common/Constants.ts
walkpan bffbb9077e dd
2025-02-01 00:14:25 +08:00

20 lines
578 B
TypeScript

/** 游戏通用常量配置 */
export const GameConstants = {
/** Spine资源路径 */
SPINE: {
HERO: "game/heros/heros", // 英雄资源根目录
// MONSTER: "game/heros/monster" // 怪物资源根目录
},
/** 英雄预制体路径 */
HERO_PREFAB_PATH: "game/hero/prefabs/",
/** 默认英雄缩放 */
DEFAULT_SCALE: 1,
/** 游戏层定义 */
LAYERS: {
HERO: 10,
MONSTER: 20
}
} as const;
export const MONSTER_PREFAB_PATH = "game/monster/prefab/";
export const SKILL_EFFECT_PATH = "game/effect/";