stevefromio Posted July 28, 2015 Share Posted July 28, 2015 this: var m = game.add.audio('music', 0.05);game.add.audio('enemy-move',0.5);game.add.audio('enemy-jump',0.5);game.sound.setDecodedCallback(['enemy-move','enemy-jump'], start, this); gives me this error in Chrome: Uncaught TypeError: game.sound.setDecodedCallback is not a function Link to comment Share on other sites More sharing options...
stevefromio Posted July 28, 2015 Author Share Posted July 28, 2015 I have been using version 2.0.1 all along. I don't know how I had this version (probably the example I copied was using 2.0.1), but almost everything seems to be working. Let this be a lesson for all the newbies out there. Make sure you are running the latest version. Thanks for you help Rich. Link to comment Share on other sites More sharing options...
Recommended Posts