Skip to content

6.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 19 May 07:50
· 135 commits to master since this release

6.0.0 (2024-05-19)

Features

  • Added 4 new convenience values to the TileInstance (19f2de4)
  • Added proper support for rule's offsets and randomized offsets (previously they would layer improperly) (76c1e9f)

Performance Improvements

  • Avoid a null check in a high-iteration context (25c315e)
  • Changed how the import profiling is enabled via a scripting define to never run unnessesary Profiler API calls (2749c69)
  • Optimized getting the FlipX and FlipY values from TileInstance (f21d6ea)
  • Prevent unnessesary tilemap API calls to SetTileFlags, SetColor and SetTransformMatrix (92b3afa)
  • Only one auto layer tilemap is generated per layer instead of multiple. This is done by making additional rule tiles exist in a different tilemap z cell. To keep the tiles looking good despite having different cell z values, the cellGap.z of the Grid components are now -1 (76c1e9f)
  • Added some dictionary capacity allocations for tile placement (76c1e9f)
  • Prevent unnessesary tileset artifact load attempts while building tile/auto layers (76c1e9f)
  • Various other small optimizations related to building tile/auto layers (76c1e9f)

BREAKING CHANGES

  • The generated tilemap hierarchy is different; Only one tilemap will exist per layer with auto tiles.
  • LDtkComponentLayerTilesetTiles.Tilemaps list has been changed to a single Tilemap