Why can't I play sounds more than once using HTML5 audio tag?

前端 未结 4 1006
时光取名叫无心
时光取名叫无心 2021-02-01 17:19

This is how the sound is \"stored\":


In the actual game (whi

4条回答
  •  臣服心动
    2021-02-01 17:46

    For anyone stumbling across this post in the future, the audio tag is really not a great way to do game audio.

    I'd highly recommend taking the time to learn the WebAudio API instead.

提交回复
热议问题