# How to show Tilemap animated tiles in Phaser game?

**URL:** <https://phaser.discourse.group/t/how-to-show-tilemap-animated-tiles-in-phaser-game/9972>\
**Category:** Phaser 3\
**Created:** [July 18, 2021, 8:18am UTC](https://phaser.discourse.group/t/how-to-show-tilemap-animated-tiles-in-phaser-game/9972 "2021-07-18T08:18:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![benanson](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@benanson](https://phaser.discourse.group/u/benanson)\
**Post date:** [July 18, 2021, 8:18am UTC](https://phaser.discourse.group/t/how-to-show-tilemap-animated-tiles-in-phaser-game/9972/1 "2021-07-18T08:18:35Z")

</div>

Hello, I would like to create a simple platformer game using Phaser 3 and Tiled.

I create level and animated some tiles in Tiled(for example waterfall).  
It can show the animated tiles in Tiled

but it can’t show in Phaser game.  
it display a static image in game…

Is it possible to show animated tiles in Phaser ??  
Thank you very much

---

<div class="post-metadata">

**Author:** ![BlunT76](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/blunt76/32/1454_2.png) [@BlunT76](https://phaser.discourse.group/u/BlunT76)\
**Post date:** [July 18, 2021, 10:04am UTC](https://phaser.discourse.group/t/how-to-show-tilemap-animated-tiles-in-phaser-game/9972/2 "2021-07-18T10:04:18Z")

</div>

Hi,  
There is a plugin for tile animation

> **[nkholski/phaser-animated-tiles](https://github.com/nkholski/phaser-animated-tiles)**
>
> A plugin that adds support for animated tiles to Phaser 3 - nkholski/phaser-animated-tiles

---

<div class="post-metadata">

**Author:** ![benanson](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@benanson](https://phaser.discourse.group/u/benanson)\
**Post date:** [July 18, 2021, 3:06pm UTC](https://phaser.discourse.group/t/how-to-show-tilemap-animated-tiles-in-phaser-game/9972/3 "2021-07-18T15:06:36Z")

</div>

Really thank you for the reference

it work fine for me:

```javascript
function preload ()
    {
        this.load.tilemapTiledJSON('map', 'assets/map.json');
        this.load.image('super-mario-16bit', 'assets/super-mario-16bit.png');
        this.load.scenePlugin('AnimatedTiles', 'https://raw.githubusercontent.com/nkholski/phaser-animated-tiles/master/dist/AnimatedTiles.js', 'animatedTiles', 'animatedTiles');   
    }

    function create ()
    {
        let map = this.make.tilemap({
            key: 'map'
        });
        let tileset = map.addTilesetImage("map");
        let layer1 = map.createDynamicLayer("test", tileset, 0, 0);
        this.animatedTiles.init(map);
     }

```

---

<div class="post-metadata">

**Author:** ![Linas987](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/linas987/32/6640_2.png) [@Linas987](https://phaser.discourse.group/u/Linas987)\
**Post date:** [June 8, 2022, 11:53pm UTC](https://phaser.discourse.group/t/how-to-show-tilemap-animated-tiles-in-phaser-game/9972/4 "2022-06-08T23:53:17Z")

</div>

Still kind of new to phaser, does this still work with the new version of phaser? It would be cool if someone would send a working github example project that uses this plugin.
