allow properties on tiles

# Conflicts:
#	front/src/Phaser/Game/GameMap.ts
#	front/src/Phaser/Map/ITiledMap.ts
This commit is contained in:
jonny 2021-06-19 15:17:28 +02:00
parent 61809aad21
commit 74dda8ab69
3 changed files with 61 additions and 1 deletions

View file

@ -447,6 +447,11 @@ export class GameScene extends DirtyScene implements CenterListener {
}
}
}
this.gameMap.exitUrls.forEach(exitUrl => {
this.loadNextGame(exitUrl)
})
if (depth === -2) {
throw new Error('Your map MUST contain a layer of type "objectgroup" whose name is "floorLayer" that represents the layer characters are drawn at. This layer cannot be contained in a group.');
}