How to loop and not clear music/sfx

I'm adding music to my game now but adding: <audio blah blah blah>every little section is annoying and the audio restarts everytime like for example:

[say hi back]:

will be a pain for me and the player.

You can try using Javascript to add an audio element to the document's body. Then, it won't be inside of the HTML element that gets cleared.

Log in to post a reply.