Playing sounds sequentally

Hey, working at adding sounds to my "StoreyMinus" game. The question is, I'm not sure how to do sounds.

Okay, I know I can do them like this...

<audio src="weap-sword.wav" autoplay />

But some questions...

  1. How can I get them to play sequentially, rather than overlapping?
  2. How can I add a gap between them?

Let me add that the reason I need this is for combat. Generally there is a weapon sound and then a hit/miss sound. Since I know the weapon and know if it hit or missed, I want to play those sounds sequentially.

Using a gun on someone should sound like...

BANG! Arrgh!

Right now they overlap.


This topic is now closed. Topics are closed after 180 days of inactivity.

Support

Forums