filbs111 / turn-n-burn

another gravity force clone
0 stars 0 forks source link

Add audio #1

Closed filbs111 closed 8 years ago

filbs111 commented 8 years ago

including ability to play multiple instances sounds, playing gun sounds at precise intervals so sounds smooth.

filbs111 commented 8 years ago

done. precise timing for audio API implemented in a hacky way, but appears to improve things in firefox IE sounds ok without this, at least on my machine, so didn't bother doing anything for audio elements