lewster32 / phaser-plugin-isometric

Feature-packed axonometric plugin for Phaser 2 which stays true to the Phaser API.
http://rotates.org/phaser/iso
MIT License
472 stars 165 forks source link

Cannot read property '4' of undefined #30

Closed brenolf closed 8 years ago

brenolf commented 8 years ago

I'm running on this error that seems to be related that the file published both on bower and npm is not the same that we can find in the dist's master branch. The error is caused by a line testing this.sprite._cache[4] === 1 in the minified version. If I copy the minified version from the master an paste it locally it works.

I believe you just need to republish the package.

lewster32 commented 8 years ago

Unfortunately I'm not the maintainer of the library on npm - it was published by Ilrein, and clearly hasn't been kept up-to-date. The most current version will always be the master.