From 9b2bed395c82bc1644ef86a096f33b876358af40 Mon Sep 17 00:00:00 2001 From: sanine Date: Sat, 6 Jul 2024 01:02:17 -0500 Subject: add better ui sounds and remove rocket sound --- main.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'main.js') diff --git a/main.js b/main.js index 107c580..7ce6e6f 100644 --- a/main.js +++ b/main.js @@ -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); -- cgit v1.2.1