StarArawn / bevy_tiled

A plugin for rendering tiled maps.
MIT License
151 stars 40 forks source link

Support for animated tiles and collision #32

Open framp opened 3 years ago

framp commented 3 years ago

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:

dmtaub commented 3 years ago

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.