Closed DanielSitarz closed 9 years ago
Just add reset to it for the moment and it'll be fine. Do it in your game init or boot state:
game.debug = { preUpdate: function () {}, update: function () {}, reset: function () {} };
Should now be fixed in dev. There's a major upstream Pixi issue with alpha on sprites at the moment, so I'm likely to release a 2.2.1 this week.
Hey.
I have got disabled debug and in version 2.20 I gets:
phaser-arcade-physics.js:18499 Uncaught TypeError: undefined is not a function
This line is: (method Phaser.StateManager#clearCurrentState)this.game.debug exists cuz of this: (method Phaser.Game#boot)
So expression evals to true.