Skip to content

🔊 Add background sounds to levels + mute button#100

Open
GARYPOU wants to merge 3 commits intocodergautam:masterfrom
GARYPOU:master
Open

🔊 Add background sounds to levels + mute button#100
GARYPOU wants to merge 3 commits intocodergautam:masterfrom
GARYPOU:master

Conversation

@GARYPOU
Copy link
Copy Markdown

@GARYPOU GARYPOU commented Apr 22, 2026

Hello guys, i did it.
This PR implements background audio for the game levels, along with a mute toggle button to give players control over the sound.

  • Added background sound that plays automatically when a level starts.
  • Implemented a mute/unmute button accessible during gameplay.
  • Sound state is preserved when toggling between mute and unmute.
    I test it in the 1 player and multy player mode and it work on both.
    If you don t like something, tell me and i can change it :).

@codergautam
Copy link
Copy Markdown
Owner

Could you let me know where you are getting these sounds and if they are properly licensed? Thank you!

@GARYPOU
Copy link
Copy Markdown
Author

GARYPOU commented Apr 27, 2026

Hi, quick update on the sounds from my previous message: those weren't properly licensed, so please don't include them in the PR. I'll replace them with royalty-free, license-free alternatives and follow up soon. Apologies for the oversight!
Here is the link of the new web where i downloaded new sounds. https://pixabay.com/music/search/?order=ec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants