Ivasik Posted February 18, 2016 Share Posted February 18, 2016 As at the end of the music re-play it? Code at the moment: var musics = new Array ('Main_Theme', 'Main_Theme2'); var random = Math.floor(Math.random() * musics.length); music = this.game.add.audio(musics[random]); music.play(); Link to comment Share on other sites More sharing options...
Sanju Posted February 18, 2016 Share Posted February 18, 2016 Set music.loop = true; Link to comment Share on other sites More sharing options...
Recommended Posts