1 decade ago by meritt
loadLevel() sets the collisionMap to null:
this.collisionMap = null;
You shouldn't be overriding the collisionMap unless the "collision" layer is found. This requires code to manually do:
this.collisionMap = ig.CollisionMap.staticNoCollision;
after calling loadLevel()
this.collisionMap = null;
You shouldn't be overriding the collisionMap unless the "collision" layer is found. This requires code to manually do:
this.collisionMap = ig.CollisionMap.staticNoCollision;
after calling loadLevel()