I am making a game in JavaScript and when you press an arrow key it should make it make a buzz sound if you pressed the wrong arrow or a slap sound if you pressed the correct one. The sounds do not play, although the background music does play still. the project was imported from replit, i have tried googling but i could not find a proper answer, i was also using a javascript plugin called howl. Howl is used to play audio in js.
Here is the github repo: https://github.com/blgoreuxe/ArrowBeat
Here is the game on github: https://blgoreuxe.github.io/ArrowBeat/
Here is the game with a working slap and buzz sounds (on repl): https://beat.brandongore502.repl.co/
i want it to where the sounds work on the github link
Via Active questions tagged javascript - Stack Overflow https://ift.tt/2FdjaAW
Comments
Post a Comment