mirror of
https://github.com/wassname/phaser.git
synced 2026-08-17 11:23:42 +08:00
Fixed a bug in the tilemap rendering so the tile offsets were wrong. Now renders perfectly :) Also fixed issue that would cause the World to resize smaller than the game size (not allowed for rendering reasons).
This commit is contained in:
@@ -100,6 +100,7 @@ Phaser.Tilemap.prototype = {
|
||||
}
|
||||
|
||||
layer.updateBounds();
|
||||
layer.createCanvas();
|
||||
|
||||
var tileQuantity = layer.parseTileOffsets();
|
||||
|
||||
@@ -159,6 +160,7 @@ Phaser.Tilemap.prototype = {
|
||||
}
|
||||
|
||||
layer.updateBounds();
|
||||
layer.createCanvas();
|
||||
|
||||
var tileQuantity = layer.parseTileOffsets();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user