Closed amadeus closed 9 years ago
SpriteBatch requires the game instance to be passed into the constructor. I am guessing this was a recent API change since I am using Phaser 2.2.1.
game
Good catch, I was just treating it like PIXI's sprite batch that has no arguments.
No problem! Thanks for being responsive!
SpriteBatch requires the
game
instance to be passed into the constructor. I am guessing this was a recent API change since I am using Phaser 2.2.1.