Fixed incorrectly parsing widthInPixels/heightInPixels for JSON tilemaps.

This commit is contained in:
Chris Andrew 2016-08-15 14:46:05 +01:00
parent 906e00cec1
commit e30ade0a67

View file

@ -201,8 +201,8 @@ Phaser.TilemapParser = {
format: Phaser.Tilemap.TILED_JSON,
version: json.version,
properties: json.properties,
widthInPixels: json.width * json.tileWidth,
heightInPixels: json.height * json.tileHeight
widthInPixels: json.width * json.tilewidth,
heightInPixels: json.height * json.tileheight
};
// Tile Layers