pause for loading tileset on the fly
This commit is contained in:
parent
d0aaa0620d
commit
a3165a0540
@ -910,12 +910,12 @@ ${escapedMessage}
|
|||||||
iframeListener.sendUserTagList({list: this.connection.getAllTag()});
|
iframeListener.sendUserTagList({list: this.connection.getAllTag()});
|
||||||
}))
|
}))
|
||||||
|
|
||||||
this.iframeSubscriptionList.push(iframeListener.tilesetLoaderStream.subscribe((tileset) => {
|
/* this.iframeSubscriptionList.push(iframeListener.tilesetLoaderStream.subscribe((tileset) => {
|
||||||
//this.load.tilemapTiledJSON('logo', tileset.imgUrl);
|
//this.load.tilemapTiledJSON('logo', tileset.imgUrl);
|
||||||
this.load.image('logo', tileset.imgUrl);
|
this.load.image('logo', tileset.imgUrl);
|
||||||
this.Terrains.push(this.Map.addTilesetImage(tileset.name, tileset.imgUrl, tileset.tilewidth, tileset.tileheight, tileset.margin, tileset.spacing));
|
this.Terrains.push(this.Map.addTilesetImage(tileset.name, tileset.imgUrl, tileset.tilewidth, tileset.tileheight, tileset.margin, tileset.spacing));
|
||||||
this.gameMap.addTerrain(this.Terrains[this.Terrains.length - 1]);
|
this.gameMap.addTerrain(this.Terrains[this.Terrains.length - 1]);
|
||||||
}))
|
}))*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user