mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 15:14:47 +00:00
Updated log
This commit is contained in:
parent
d92c7bf5b0
commit
aff073a6c0
1 changed files with 5 additions and 1 deletions
|
@ -4,8 +4,11 @@
|
|||
|
||||
### Tilemap New Features, Updates and Fixes
|
||||
|
||||
* `StaticTilemapLayer` now supports rendering multiple tilesets per layer in both Canvas and WebGL. To use multiple tilesets pass in an array of Tileset objects to the `createStaticLayer` method.
|
||||
* `StaticTilemapLayer` now supports rendering multiple tilesets per layer in both Canvas and WebGL. To use multiple tilesets pass in an array of Tileset objects, or strings, to the `createStaticLayer` method.
|
||||
* `Tilemap.createStaticLayer` now supports passing either a Tileset reference, or a string, or an array of them as the 2nd argument. If strings, the string should be the Tileset name (usually defined in Tiled).
|
||||
* `Tilemap.getTileset` is a new method that will return a Tileset based on its name.
|
||||
* `ParseTilesets` has been rewritten so it will convert the new data structures of Tiled 1.2 into the format expected by Phaser, allowing you to use either Tiled 1.2.x or Tiled 1.1 JSON exports. Fix #3998 (thanks @martin-pabst @halgorithm)
|
||||
*
|
||||
* `Tilemap.setBaseTileSize` now sets the size into the LayerData `baseTileWidth` and `baseTileHeight` properties accordingly. Fix #4057 (thanks @imilo)
|
||||
* Calling `Tilemap.renderDebug` ignored the layer world position when drawing to the Graphics object. It will now translate to the layer position before drawing. Fix #4061 (thanks @Zax37)
|
||||
* Calling `Tilemap.renderDebug` ignored the layer scale when drawing to the Graphics object. It will now scale the layer before drawing. Fix #4026 (thanks @JasonHK)
|
||||
|
@ -23,6 +26,7 @@
|
|||
* `StaticTilemapLayer.updateVBOData()` is a new private method that creates the internal VBO data arrays for the WebGL renderer.
|
||||
* The `StaticTilemapLayer.upload()` method has a new parameter `tilesetIndex` which controls which tileset to prepare the VBO data for.
|
||||
* The `StaticTilemapLayer.batchTile()` method has a new parameter `tilesetIndex` which controls which tileset to batch the tile for.
|
||||
* * `StaticTilemapLayer.setTilesets()` is a new private method that creates the internal tileset references array.
|
||||
|
||||
### New Features
|
||||
|
||||
|
|
Loading…
Reference in a new issue