This commit is contained in:
2024-08-08 09:10:29 +08:00
parent a4bbdc85a6
commit d06189486d
3 changed files with 13 additions and 13 deletions

View File

@@ -62,7 +62,7 @@ export class SingletonModuleComp extends ecs.Comp {
};
vmAdd() {
console.log("dataModelComp vmAdd");
console.log("smc vm_data vmAdd");
VM.add(this.vm_data, "data");
}
reset() {

View File

@@ -8,11 +8,11 @@
/** 碰撞分组 */
export enum BoxSet {
//物理碰撞tag
DEFAULT = 0,
MONSTER = 90,
HERO = 10,
MONSTER_SKILL = 91,
HERO_SKILL = 11,
DEFAULT = 1,
MONSTER = 2,
HERO = 4,
MONSTER_SKILL = 8,
HERO_SKILL = 16,
BOX_WIDTH = 64,
BOX_HEIGHT = 64,