Ninjadoodle Posted October 30, 2014 Share Posted October 30, 2014 Hi guys I can't seem to figure out how to make my music keep playing between scenes? Is there a flag that I'm missing etc? Thank you heaps in advance! Quote Link to comment Share on other sites More sharing options...
enpu Posted October 30, 2014 Share Posted October 30, 2014 Put this in your config:audio: { stopOnSceneChange: false} Ninjadoodle 1 Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted October 30, 2014 Author Share Posted October 30, 2014 Awesome! Thank you heaps @enpu!! Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted October 30, 2014 Author Share Posted October 30, 2014 Hi @enpu I've tested it, but it still doesn't seem to work. The audio still stops between scenes Quote Link to comment Share on other sites More sharing options...
enpu Posted October 30, 2014 Share Posted October 30, 2014 Can you pull newest develop version, and try again? Ninjadoodle 1 Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted October 30, 2014 Author Share Posted October 30, 2014 Hi @enpu Work perfectly now Thank you again!! Quote Link to comment Share on other sites More sharing options...
Phempt Posted October 30, 2014 Share Posted October 30, 2014 Wow, I was about to ask the same question! Thank you! Quote Link to comment Share on other sites More sharing options...
Phempt Posted October 30, 2014 Share Posted October 30, 2014 is it possible to check the current track? for example:if(current.music == "intro") .....Thank you! Edit: I tried with game.audio.currentMusic, but returns a variable ID that can change between scenes/every starts play. Quote Link to comment Share on other sites More sharing options...
enpu Posted October 30, 2014 Share Posted October 30, 2014 Hey, i just added new currentMusicName property to Audio, so now you can use:game.audio.currentMusicName Quote Link to comment Share on other sites More sharing options...
Phempt Posted October 30, 2014 Share Posted October 30, 2014 Thank you! That's really useful ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.