58 lines
1.9 KiB
JavaScript
58 lines
1.9 KiB
JavaScript
|
|
/*******************************************************************************
|
||
|
|
*
|
||
|
|
* 杂项定义(替换原有全局定义)
|
||
|
|
*
|
||
|
|
*
|
||
|
|
******************************************************************************/
|
||
|
|
|
||
|
|
module.exports = {
|
||
|
|
|
||
|
|
// UI层级定义
|
||
|
|
SCENE_TAG: {
|
||
|
|
scene : 0, // 场景层(互斥界面,包括登录,主场景等)
|
||
|
|
battle : 1, // 战斗层
|
||
|
|
battleUI : 12, // 战斗UI层
|
||
|
|
win : 2, // 全屏界面(完全遮盖主场景时用这个标记,会做DC优化)
|
||
|
|
panel : 3, // 非全屏弹窗
|
||
|
|
chat : 4, // 聊天中间层
|
||
|
|
popup : 5, // 弹窗队列层(依次弹出)
|
||
|
|
plot : 6, // 剧情&&引导层
|
||
|
|
msg : 7,
|
||
|
|
summon : 8, // 抽卡动画层(特殊)
|
||
|
|
},
|
||
|
|
|
||
|
|
PlayerAction : {
|
||
|
|
stand: "stand2",
|
||
|
|
stand_1: "stand2",
|
||
|
|
run: "float",
|
||
|
|
run_1: "float",
|
||
|
|
sit: "sit",
|
||
|
|
action: "action",
|
||
|
|
action_1: "action1",
|
||
|
|
action_2: "action2",
|
||
|
|
action_3: "action3",
|
||
|
|
action_4: "action4",
|
||
|
|
action_5: "action5",
|
||
|
|
action_6: "action6",
|
||
|
|
action_7: "action7",
|
||
|
|
action_8: "action8",
|
||
|
|
battle_stand: "stand2",
|
||
|
|
hurt: "hurt",
|
||
|
|
fun: "fun",
|
||
|
|
show: "show",
|
||
|
|
special_action_0: "status_0",
|
||
|
|
special_action_1: "status_1",
|
||
|
|
special_action_2: "status_2",
|
||
|
|
idle: "idle", //-- 家园角色 闲转
|
||
|
|
move: "move", //-- 家园角色 移动
|
||
|
|
interaction: "interaction", //-- 家园角色 互动
|
||
|
|
caught_1: "caught_1", //-- 家园角色 提起
|
||
|
|
caught_2: "caught_2", // -- 家园角色 移动
|
||
|
|
caught_3: "caught_3", //-- 家园角色 放下
|
||
|
|
eating: "eating", //--年兽吃动作
|
||
|
|
sleeping: "sleeping", //--年兽睡觉动作
|
||
|
|
},
|
||
|
|
|
||
|
|
SCREEN_WIDTH : 1280,
|
||
|
|
SCREEN_HEIGHT : 720,
|
||
|
|
};
|