I'm developing a game for iOS and android. In that, I added sounds for every screen but the problem is these sounds are not being playing unless and until I tap on the screen. Also after closing and reopening the game, I hear distortion in sound quality.
I use Intel XDK to build the app. Please help, I'm not sure why this is happening.
Thanks in advance.
The distortion is a bug on iOS only and there is a workaround fix in the v223 beta which was released yesterday.
Also all sounds you import in the sound folder will be played with no problem. Only when you have music imported in the music folder you always need a on touch end event for it to be played.
In my project I have only one small music loop for the background music. I just imported the music in the sound folder as well. Works instantly.