This commit is contained in:
2024-08-06 16:42:03 +08:00
parent 57046f4800
commit 66f32a44ae
27 changed files with 2013 additions and 659 deletions

View File

@@ -7,16 +7,20 @@
/** 碰撞分组 */
export enum BoxSet {
//物理碰撞tag
DEFAULT = 0,
MONSTER = 90,
HERO = 10,
MONSTER_SKILL = 91,
HERO_SKILL = 11,
BOX_WIDTH = 64,
BOX_HEIGHT = 64,
//地图边界
LETF_END = -400,
RIGHT_END = 400,
HERO_START = -309,
MONSTER_START = 309,
GAME_LINE = -60,
//游戏地平线
GAME_LINE = 30,
}