StarArawn/bevy_tiled

Support for animated tiles and collision

Opened this issue · 1 comments

framp commented

Hi all,

I'm looking into adding support for animated tiles and collision support and I'm curious to see if anyone has already spent some time thinking / working on this before I do

For reference, I've used this library in the past which implements the same functionality (but in JS): https://github.com/colinvella/phaser-tilemap-plus

There may be some work needed in tiled-rs to support object layers and animated tiles

My general idea is to:

  • Expose the object layer so that you can plug that data manually in your collision detector system
  • Copy bevy spritesheet approach for animations

I've been looking at this and it seems fairly straightforward. Unfortunately after adding object loading, maps.rs really needs to be refactored. Once it's broken up into smaller modules, I can definitely see setting up animations.