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.
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.