wade isometric plugin is not working
moayyad

Hi 

i'm trying to work on the isometric tutorial, but when i run this line 

 

 this.load = function()
        {
            wade.loadImage('images/grass0.png');
            wade.iso.init({numTiles: {x: 5, z: 5}});
        };
 
I get this.
  1. Uncaught TypeError: Cannot call method 'init' of undefined VM52:6
    1. loadVM52:6
    2. Wade.instanceAppwade_1.0.3.js:189
    3. (anonymous function)wade_1.0.3.js:21
    4. (anonymous function)
  2.  

 

which means that wade does not load the isometric plugin.

 

please help

All 2 Comments
Gio
Hi moayyad

That seems to suggest that it hasn't loaded the plugin. Have you added the script wade.iso.js to your index.html file?

On a side note. I would call wade.iso.init() from your app's init function rather than load
Gio

Apparently there was a problem with the download: depending on which page you downloaded the file from, it is possible that our server was sending you the wrong zip (one that contained an empty javascript file).

 

This issue has now been resolved, so if you were having any problems simply re-downloading the isometric plug-in should fix everything.

 

Apologies for any inconvenience this may have caused you.

Post a reply
Add Attachment
Submit Reply
Login to Reply