diff options
| author | sanine <sanine.not@pm.me> | 2024-07-06 01:02:17 -0500 | 
|---|---|---|
| committer | sanine <sanine.not@pm.me> | 2024-07-06 01:02:17 -0500 | 
| commit | 9b2bed395c82bc1644ef86a096f33b876358af40 (patch) | |
| tree | 8da185eff779bc4339dfc705286fbb1d4418d963 /main.js | |
| parent | aad68d877531ebdfb117a90c77ea7e538d858f2a (diff) | |
add better ui sounds and remove rocket sound
Diffstat (limited to 'main.js')
| -rw-r--r-- | main.js | 5 | 
1 files changed, 0 insertions, 5 deletions
| @@ -11,11 +11,6 @@ window.onload = () => {      const audio = new AudioContext();      root.removeChild(start); -    const rocketThrustAudio = document.getElementById('sfx-rocket-thrust'); -    const rocketThrustSource = audio.createMediaElementSource(rocketThrustAudio); -    const rocketGain = audio.createGain(); -    rocketThrustSource.connect(rocketGain).connect(audio.destination); -          const musicGain = audio.createGain();      const addMusic = (music, id) => {        const element = document.getElementById(id); | 
