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

Plugin has unexpected behaviour when Phaser is not wrapped in global. #23

Closed 0nix closed 8 years ago

0nix commented 8 years ago

The plugin has unexpected behaviour when Phaser, the plugin itself, and all other elements are wrapped in a container object. The most apparent of these is modifying isoZ in an isoGroup in update(). When the logic is wrapped in an object (i.e. var env = {}; env.game = new Phaser.Game(...) ), and the pointer interaction code is run, it acts as if a tweening motion has gone out of control.

lewster32 commented 8 years ago

Hi 0nix, would you be able to post a link to an example of this happening?

lewster32 commented 8 years ago

Closing due to no further information. Will re-open if an example is given.