gbrennon Posted May 28, 2015 Share Posted May 28, 2015 Hey, I'm loading the audio and calling the play method, but it doesn't play.function preload() { game.load.audio('trilha', 'assets/sounds/trilha_jogo.mp3');}function create() { var audio = game.add.audio('trilha'); audio.play();}I've printed it to the console and the sound object seems to be ok.. Can someone help me? Link to comment Share on other sites More sharing options...
rich Posted May 29, 2015 Share Posted May 29, 2015 mp3 playback is browser and OS specific - are you sure you're trying it in a browser that supports it? Link to comment Share on other sites More sharing options...
Recommended Posts