Skip to content

Bevy-0.4-Tiled 0.2.1-rc1

Compare
Choose a tag to compare
@dmtaub dmtaub released this 15 Mar 04:04

Adds loading objectGroups and objects for orthographic Tiled maps:

currently only supports tile objects and rectangles

  • fires event when object is created
    • There's support for debugging of rectangle objects by passing debug_config into TiledMapComponents
    • adds new ortho_objects example which shows how to use debug
  • We only create textures for tiles used by layers and objects
  • For now, assumes we're only spawning one entity per asset, which allows us to keep track and hot-reload
  • Asset dependencies set up so tile texture loading is a requirement for the map to be considered loaded
  • Bugfix to support tiles with padding in ortho maps.
  • re-exports relevant structures from rs-tiled

See the readme for more details

Currently separate from bevy-0.4 branch as there may be some incompatibilities, open PR to merge this into main branch