Tiled polylines are now imported into the map objects property as well as map collision (#1117)

This commit is contained in:
photonstorm 2014-08-29 16:56:30 +01:00
parent 0284d0b98c
commit 5546e5903c
2 changed files with 2 additions and 0 deletions

View file

@ -121,6 +121,7 @@ Version 2.1.0 - "Cairhien" - -in development-
* The Pointer move callbacks are now sent an extra parameter: `fromClick` allowing your callbacks to distinguish between the Pointer just moving, or moving as a result of being pressed down (thanks @iforce2d #1055)
* GamePad and SinglePad onAxisCallback parameters have changed. You are now sent: this (a reference to the SinglePad that caused the callback), the axis index and the axis value in that order.
* If Time.elapsed was > Time.timeCap it would reset the elapsed value to be 1 / 60. It's now set to Time.timeCap and Time.timeCap defaults to `1 / 60 * 1000` as it's a ms value (thanks @casensiom #899)
* Tiled polylines are now imported into the map objects property as well as map collision (#1117)
### Bug Fixes

View file

@ -408,6 +408,7 @@ Phaser.TilemapParser = {
}
collision[json.layers[i].name].push(object);
objects[json.layers[i].name].push(object);
}
// polygon
else if (json.layers[i].objects[v].polygon)