mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
Now extracts the renderorder property from the Tiled JSON
This commit is contained in:
parent
a98b3c3b15
commit
a462250cd9
1 changed files with 3 additions and 1 deletions
|
@ -12,6 +12,7 @@ var ParseTilesets = require('./ParseTilesets');
|
|||
var ParseObjectLayers = require('./ParseObjectLayers');
|
||||
var BuildTilesetIndex = require('./BuildTilesetIndex');
|
||||
var AssignTileProperties = require('./AssignTileProperties');
|
||||
var GetFastValue = require('../../../utils/object/GetFastValue');
|
||||
|
||||
/**
|
||||
* @namespace Phaser.Tilemaps.Parsers.Tiled
|
||||
|
@ -52,7 +53,8 @@ var ParseJSONTiled = function (name, json, insertNull)
|
|||
orientation: json.orientation,
|
||||
format: Formats.TILED_JSON,
|
||||
version: json.version,
|
||||
properties: json.properties
|
||||
properties: json.properties,
|
||||
renderOrder: json.renderorder
|
||||
});
|
||||
|
||||
mapData.layers = ParseTileLayers(json, insertNull);
|
||||
|
|
Loading…
Reference in a new issue