azures04 6b33a6cb3e New commit
-  Added Audio 🎧
  -  Added system calls 🛠
  -  Started to reimplement UI 🖼
  -  Implemented skin change drop-down 👕
2025-04-26 12:43:03 +02:00

20 lines
339 B
JavaScript

const audio = new Audio()
function startAudio() {
audio.src = "/app/assets/audio/Golden Hill (Radio Edit).mp3"
audio.loop = true
audio.onended = () => {
if (!audio.paused) {
audio.play()
}
}
}
function muteAudio() {
audio.muted = true
}
function unmuteAudio() {
audio.muted = false
}