I am trying to use the animated tilemap plugin: https://github.com/nkholski/phaser-animated-tiles
(even referenced by a photonstorm blog entry: https://phaser.io/news/2018/03/phaser-3-animated-tiles-plugin)
I try to import it this way:
in my preload():
this.load.plugin('AnimatedTiles', 'lib/AnimatedTiles.min.js');
and in the create():
(<any>this.sys).install('AnimatedTiles');
This runs into:
Uncaught TypeError: this.plugins.installLocal is not a function
install phaser.js:41009
Gameplay.create Game.ts:131
create phaser.js:81071
loadComplete phaser.js:80984
emit phaser.js:2337
loadComplete phaser.js:120224
fileProcessComplete phaser.js:120190
onProcessComplete phaser.js:4505
data.onload phaser.js:11129
Async call from load
Is this a phaser3 bug?
Does anyone have this plugin up and running?
My phaser Info:
Test / Phaser v3.16.2 (WebGL | Web Audio) https://phaser.io