Toggle music play sound

Example showing how to play a music and add controls on the screen to pause it, change the volume or mute the sounds totally.

How it's built?

This game is made with GDevelop using these features:

  • Sounds and musics
  • Events and control flow
  • Mouse and touch
  • Objects
  • Scene
  • Text manipulation
  • Variables
  • Sprite
  • Text object

Edit it in GDevelop

Try Toggle music play sound online

Test and edit this example in the GDevelop game engine.