This commit is contained in:
walkpan
2025-02-01 00:14:25 +08:00
parent c5c01c6cf4
commit bffbb9077e
91 changed files with 2067 additions and 1327 deletions

View File

@@ -0,0 +1,20 @@
/** 游戏通用常量配置 */
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/";

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "da1b1900-d741-411c-b677-c1eb7770897e",
"files": [],
"subMetas": {},
"userData": {}
}