Files
fc/dev/project/library/imports/7a/7a1113f8-c5af-48fc-9e78-5e4f0fe4a7ba.js
T

80 lines
1.8 KiB
JavaScript
Raw Normal View History

2026-05-24 10:21:26 +08:00
"use strict";
cc._RF.push(module, '7a111P4xa9I/J54Xk8P5Ke6', 'define');
// Scripts/define.js
"use strict";
/*******************************************************************************
*
* 杂项定义(替换原有全局定义)
*
*
******************************************************************************/
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
};
cc._RF.pop();