I set on start of layout play music and after game start music is loading 5-10 sec brfore starts play.
How to fix this?
Preload it using the audio preload action.
Increase your server bandwidth :) If it's in the music folder, it should be streamed so it ought to play as soon as it's got enough data to start playing - it won't need to download the entire track. So it must be a pretty slow server that it takes 5-10 sec to do that.
while we are on the topic...
Ashley i probably asked for this before but can you add a "preload everything!!!" event for the audio object?
i prefer to have everything cached instead of the download on first use stuff...
I second that, preload everything would be really useful in some cases where the gameplay depends on the sounds playing.
+1 for preload all Sounds action
Ashley can you add a new option in importing wav files? i mean encoding quality- add 64 kb/s and 80 kb/s ?
i try display music with this quality and sounds good for me even if have 64 kb
Develop games in your browser. Powerful, performant & highly capable.
+1 for Music Families :)