10-02-2012 01:40 PM - edited 10-02-2012 01:49 PM
I'm experiencing the same issue with a WW (10.0.2.9)/BBui (0.9.4) HTML5 game.
I need to fire a (short / ogg) sound on touch events.
I did it the "simple way" in my main script :
var audioValid = new Audio('sounds/audioValid.ogg');
And then in my touch event handler :
As my game is based on sequences that are running faster with levels, it works fine when time elapsed between events (touch) is long enough (> sound lenght ?), but won't play the sound when it is shorten (< sound length ?).
Is there any "good practice" or workaround for this ?