KonradLinkowski / Stack

Tower stacking game made using Three.js
https://konradlinkowski.github.io/Stack/
MIT License
10 stars 2 forks source link

Add sound #5

Open KonradLinkowski opened 3 years ago

KonradLinkowski commented 3 years ago

The game is missing sounds. Using some audio library, like tone.js or howler is recommended

sanket95droid commented 2 years ago

Hey, can I try this one?

KonradLinkowski commented 2 years ago

@sanket95droid sure :)

sanket95droid commented 2 years ago

Thanks, if u can assign it to me?

sanket95droid commented 2 years ago

Hi, I actually added some background sound to the project which should start automatically but due to https://developer.chrome.com/blog/autoplay/#webaudio <- policy a user must first interact to start the audio, we might need to add a start button for the game or music ON/OFF button.

Note: Exact same case even if we use Howlerjs @KonradLinkowski

KonradLinkowski commented 2 years ago

Yes, that's a known issue. The start button will be fine