Jump to content

Tiled Map Editor Animations in Phaser


AbelCainMD
 Share

Recommended Posts

Animated tiles isn't supported by Tiled so you have to find a custom solution. I added support for animations about a year ago in whatever version Phaser had then. I could share the code but it probably needs to be updated to work with current versions.

I made a pull request to Phaser but it became obsolete and never merged. One concern is that you need to redraw all visible tiles despite how many tiles you are changing. Animations with high framerates or multiple that aren't in sync could become a performance issue. That could be changed but not without further changes in Phaser source.

Perhaps it could be worth updating the files again and make a pull request for Phaser CE.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...