mirror of
https://github.com/wassname/phaser.git
synced 2026-07-17 11:31:30 +08:00
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:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user