AudioSprite with JSON Example is Incorrect
pmcmonagle opened this issue · comments
Paul McMonagle commented
The example code loads an audiosprite with JSON, but when it's added to the game, it's added as regular audio ('game.add.audio'), and then the markers are defined manually in code.
IMO, the correct demonstration of audiosprites with JSON would be to use 'game.add.audioSprite' and let the markers generate themselves from the JSON.