Game over sound

How do i change the sound that plays when i get a game over?

1 Like

Welcome to the Forum!

I don’t think you can change the game over sound, at least in blocks. :frowning:

There isn’t currently a block for it, but there’s a function in javascript!

game.setGameOverSound(false, music.baDing)
game.setGameOverSound(true, music.magicWand)

The boolean is for whether the sound is for a win or not; the snippet above will set it to baDing when the player loses, and magicWand when they win.

2 Likes