Tilemap.createFromObjects can now turn a bunch of Tiled objects into Sprites in one single call, and copies across all properties as well.

This commit is contained in:
photonstorm
2013-12-22 04:27:12 +00:00
parent 63d90a0176
commit bf72b4d3b0
7 changed files with 102 additions and 15 deletions
+1 -1
View File
@@ -304,7 +304,7 @@ Phaser.TilemapLayer.prototype.postUpdate = function () {
*/
Phaser.TilemapLayer.prototype.resizeWorld = function () {
this.game.world.setBounds(0, 0, this.layer.widthInPixels * 4, this.layer.heightInPixels);
this.game.world.setBounds(0, 0, this.layer.widthInPixels, this.layer.heightInPixels);
}