Jump to content

Problem with adding Phaser isometric plugin


Batzi
 Share

Recommended Posts

Hey guys! 

 

This is my first time using the isometric plugin. I downloaded and added the plugin in the project directory but whenever I attempt to add it in the preload() function I get this error

 

 

Uncaught TypeError: Phaser.Plugin.Isometric is not a function

 

and the code is

preload(){   this.game.load.image('tile','../assets/tile.png');   this.game.plugins.add(new Phaser.Plugin.Isometric(this.game));}

Anyone here managed to get the plugin work and what do you think the problem is with my code? Am I missing something? It is as if the phaser.plugin.isometric.d.ts is not linked to the project.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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