Skip to content

Latest commit

 

History

History
167 lines (101 loc) · 4.89 KB

CHANGELOG.md

File metadata and controls

167 lines (101 loc) · 4.89 KB

Changelog

[unreleased]

v0.4.2

Changed

  • Removed the dbg! macro from the codebase and replaced it with trace! (#54)

Documentation

  • Added a note about the logging and tracing features in the debugging guide (#54)

v0.4.1

Changed

  • Enable Bevy file_watcher feature when running examples to enable assets hot-reloading

Documentation

  • Add a note in the FAQ about assets hot-reloading

Bugfixes

  • Fix hot-reload (#52)

v0.4.0

BREAKING CHANGES This version brings breaking changes. A migration guide is available to help adapt to these.

Features

  • Add map loading events to give user access to Tiled internal data structure.
  • Add various settings to control where we spawn the map.

Changed

  • Rework how user properties are loaded from Tiled. Don't use macros anymore and instead rely upon bevy_reflect.
  • Take advantage of map loading events and move everything related to physics in a dedicated plugin.
  • Rework how we manage physics backends with the perspective to provide more advanced ones in the future.
  • Do not insert a Transform on every tiles anymore, only do it for tiles with a collider which actually need it (which is likely to improve performances).
  • Get ride of TiledMapBundle and add a dedicated component to hold the Handle<TiledMap>.
  • Rename MapPositioning to LayerPositioning.

Documentation

  • Finalize API reference documentation: all public API are now documented.
  • Add various guides and explanations to the book.

Bugfixes

  • Fix tiles colliders position for hexagonal maps (#40)

v0.3.11

Bugfixes

  • Fix crash when the top-left tile of an infinite map is used (#46)

Documentation

  • Add debug guide
  • Add map spawn/despawn/reload guide

v0.3.10

Documentation

  • Initialize bevy_ecs_tiled book (#15)
  • Update code documentation

v0.3.9

Bugfixes

  • Fix compilation issue when not using physics feature

v0.3.8

Features

  • Add the possibility for the user to use a custom physics backend and add an associated example (#30)
  • Add a note about isometric (staggered) maps which are not supported and add a dedicated example
  • Add a bit of documentation
  • Update layers Z-offset so the upper layer will be at offset 0 and layers behind will have negative offset values

Bugfixes

  • Fix objects position for isometric (diamond) maps and update associated example

v0.3.7

Features

  • Add dedicated marker for Tiled objects (#22), object layers, group layers and image layers
  • Regroup tilemaps from the same tile layer but using different tilesets under a common parent entity TiledMapTileLayerForTileset
  • Add a new TiledMapDebugPlugin to draw a simple arrow_2d gizmo where Tiled objects are spawned (#18)
  • Add a README.md file to describe Tiled maps used in examples
  • Add simple hex flat top asset so we can have some hexagonal 'flat-top' examples
  • Rework the hex_map example to cycle through different kinds of hexagonal maps

Bugfixes

  • Prevent duplicating objects when there are multiple tilesets (#28)
  • Do not rely upon AssetEvent::added() to actually spawn a map (#23) Instead, query all maps that have a Changed<Handle<TiledMap>> or are explictelly marked for reload. This allows to delay actual map spawn from asset loading (hence allowing to pre-load maps).
  • Fix objects position for hexagonal maps: may not work in all cases, especially for 'infinite' maps

v0.3.6

Bugfixes

  • Remove the need to add an explicit dependency against 'tiled' crate when using the 'user_properties' feature flag (#21)

v0.3.5

Features

  • Add support for Avian2D Colliders added from tilesets and object layers (avian feature flag) (#14 and #20)

v0.3.4

Features

  • Add a new example with a simple player-controlled object using Rapier physics
  • Add a new example with an isometric map
  • Properly handle layers Z-order (see #4, #7 and #9)
  • Provide a callback to attach additional components to tiles / objects colliders to improve collisions detection (#7 and #9)
  • New feature flag: user_properties, map Tiled user properties on tiles and objects to Bevy components (#5 and #10)

Bugfixes

  • Fix bad positioning of objects collider when using MapPositioning::Centered (#11)

v0.3.3

Features

  • Add support for animated tiles (#4) (note: the Z-layer fix have been reverted, see #7)
  • Add wasm feature
  • Add support for transforming TilemapBundle using (0, 0) as the center (#8)

v0.3.1

Features

  • Properly handle hexagonal maps (#3)

Bugfixes

  • Do not duplicate path when loading a tilesheet (#2)

v0.3.0

Features

  • Finite and infinite maps
  • Embedded and separate tileset
  • Layers are children of the tilemap entity. Tiles are children of layers.
  • Visibility is inherited: map -> layer -> tile
  • Spawn/despawn
  • Rapier Colliders added from tilesets and object layers (rapier feature flag)