Jump to content

some newbie questions on sound/audio


Lucky
 Share

Recommended Posts

How do I use onMarkerComplete

This do not seem to work

this.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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...