summaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2024-07-06 01:02:17 -0500
committersanine <sanine.not@pm.me>2024-07-06 01:02:17 -0500
commit9b2bed395c82bc1644ef86a096f33b876358af40 (patch)
tree8da185eff779bc4339dfc705286fbb1d4418d963 /main.js
parentaad68d877531ebdfb117a90c77ea7e538d858f2a (diff)
add better ui sounds and remove rocket sound
Diffstat (limited to 'main.js')
-rw-r--r--main.js5
1 files changed, 0 insertions, 5 deletions
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);