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:
Richard Davey
2013-09-12 02:18:23 +01:00
parent 89b00db103
commit 3d22d0e169
8 changed files with 180 additions and 23 deletions
+2
View File
@@ -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();