create test map

This commit is contained in:
Hanusiak Piotr 2022-02-08 11:04:12 +01:00
parent 31f3b2b48e
commit a53cbbff34
3 changed files with 89 additions and 0 deletions

View file

@ -94,6 +94,7 @@ export class GameMap {
depth = DEPTH_OVERLAY_INDEX;
}
}
console.log(this.phaserLayers);
for (const tileset of map.tilesets) {
tileset?.tiles?.forEach((tile) => {
if (tile.properties) {