Jump to content

Problem with adding Phaser isometric plugin


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

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.


  • Recently Browsing   0 members

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