Jingles Posted January 9, 2015 Share Posted January 9, 2015 Here's my code... in preload this.engine.load.audio('sofaking', 'assets/audio/sofaking.mp3'); in createmusic = this.engine.add.audio('sofaking');music.play();// music.loop = true;// music.volume = 0.1; For some reason when I uncomment the two bottom lines, they don't work? I read the phaser docs and thought this would be ok... i can even see in the phaser example shown here (http://examples.phaser.io/_site/view_full.html?d=audio&f=play+music.js&t=play%20music) that they manipulate volume in this same way. Link to comment Share on other sites More sharing options...
Jingles Posted January 9, 2015 Author Share Posted January 9, 2015 Answered in the chat group! Thanks guys. Link to comment Share on other sites More sharing options...
Recommended Posts