Sign in to follow this  

Phaser 3 Animated Tiles Plugin

Recommended Posts

I've prepared a plugin in time for the release of Phaser 3 today: support for animated tiles. The plugin parses tile animation data configured in Tiled and then, well, animates layers (dynamic layers required). All you need is three lines of code; one for preloading the plugin, a second for installing the plugin and the third for initializing it for a map.



  1. Animate tiles as configured and displayed in Tiled.
  2. Support for unlimited tile animations, layers, maps, and tilesets.
  3. Use the API to manipulate the rate (multiplier of the frame duration set in Tiled) globally or for a certain tile id or map.
  4. Animations adapt to the timeScale set by the Phaser 3 API.
  5. Add and remove animated tiles any time.

API demo:
Playable demo (question marks are animated tiles):
Github repository:

Suggestions are welcome and if you use the plugin, please tell!

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.