Skip to content

v2.11.1

Latest

Choose a tag to compare

@riebel riebel released this 20 Nov 12:22
· 1 commit to master since this release

Bug fixes

  • Legacy image-layer positions. Image layers saved by Tiled before 0.15 store their position in x/y; they now render there instead of at (0,0), in both TMX and TMJ maps. An offsetx or offsety still wins, per axis. (#37, thanks @YiheHuang)
  • getLayer() only matches layers. The lookup used to search every display object, so an object or sprite sharing a layer's name could be returned instead of the layer. It now searches only through group layers. If you relied on getLayer() to find objects by name, look them up on their object layer instead. (#38, thanks @YiheHuang)
  • Sparse image-collection tile IDs. Image-collection tilesets can number their tiles above tilecount; resolving such a tile no longer throws when the tileset defines it. IDs beyond a regular tileset's range are still rejected. (#39, thanks @YiheHuang)

Development dependencies were updated, clearing all npm audit advisories. Nothing changes for consumers: the package has no runtime dependencies, and the pixi.js >=8.10.0 peer range is unchanged.