kenray Posted January 3, 2015 Share Posted January 3, 2015 I got bit by this one today (Phaser 2.2.1 release) ... To load an audiosprite, you use:game.load.audiosprite // lowercase "s"To add it to your app, you use:game.add.audioSprite // uppercase "S"Any other form (in either load or add) will fail with an "undefined is not a function" error. Link to comment Share on other sites More sharing options...
kenray Posted January 8, 2015 Author Share Posted January 8, 2015 Rich, I noticed that this wasn't in the bugfix list for 2.2.2 - just bumping this so you can address it for the next rev. Link to comment Share on other sites More sharing options...
Recommended Posts