A Plugin to support animated tiles in Phaser 3, as exported from the Tiled map editor.

Article by Richard Davey. Posted on 7th Mar 2018.   @photonstorm

image

"A simple plugin with a simple purpose: to add support for animated tiles to Phaser 3 as exported from Tiled."

"This plugin supports unlimited maps, layers and tilesets simultaneously. There are methods to control animations globally, within specified tilemaps or layers. Those methods can control such things as playback-rate both for all tiles and for specified tiles. ATM it's up to you to keep track on indicies for maps you add and their layers. For most cases that shouldn't be a problem. If you just want to support animated tiles exactly as specified in Tiled you need three lines; one to preload the plugin, one to register it in your create method and one to initilize it for your map."

Read More