Keeping background music running in a game can get quite annoying. It makes sense to give users the option to turn this off. This tutorial will show you how to get free sound on / off icons to use and how to implement them so we can mute our game whenever we'd like.
HeroIcons: https://heroicons.com/
Hi Chris,
I been getting : "The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page."
along with: HTML5 Audio pool exhausted, returning potentially locked audio object.
I am running Howler version 2.2.4: https://cdnjs.cloudflare.com/ajax/libs/howler/2.2.4/howler.min.js