Lucky Posted May 25, 2014 Share Posted May 25, 2014 How do I use onMarkerCompleteThis do not seem to workthis.music.onMarkerComplete = function () {this.capter = this.capter +1;} Whats the differanse on this.add.audio('music'); this.add.sound('music'); Way do they in some examples load both a .mp3 fila and a .ogg file? like this g.load.audio('sound', ['assets/audio/Buggybug_Play.mp3', 'assets/audio/Buggybug_Play.ogg']) /Lukas Link to comment Share on other sites More sharing options...
Heppell08 Posted May 25, 2014 Share Posted May 25, 2014 The mp3 and ogg array is so that if a browser doesn't support mp3 but does support ogg, then the mp3 isn't played and the ogg format is played instead. Link to comment Share on other sites More sharing options...
Recommended Posts