原来是全局碰撞惹的祸

This commit is contained in:
2024-07-31 10:48:42 +08:00
parent df8b52264e
commit 9aa9806b62
38 changed files with 1640 additions and 313 deletions

View File

@@ -8,10 +8,12 @@
/** 碰撞分组 */
export enum BoxSet {
DEFAULT = 0,
MONSTER = 2,
HERO = 4,
MONSTER_SKILL = 8,
HERO_SKILL = 16,
MONSTER = 90,
HERO = 10,
MONSTER_SKILL = 91,
HERO_SKILL = 11,
BOX_WIDTH = 64,
BOX_HEIGHT = 64
BOX_HEIGHT = 64,
LETF_END = -400,
RIGHT_END = 400
}