The Marble of Truth

My weird Brick Breaker game. Five levels. I added in extra lives, level load screens, and a mute music button at the start menu. Surprisingly, the mute music button gave me the most trouble. Let me know what you think!


Very cool! Don’t think I’ve ever played a brick breaker game with gravity before.

Hello Caroline,

It came out fantastic! I’m actually struggling with a mute button myself would you mind a bit of insight into how you managed to accomplish it?



Hi JB,

Of course! If you’d like to figure it out mostly for yourself, I’ll let you know that the key to the mute button is Unity’s mute script:

If you want to see exactly how I did it, I had a bug where when I restarted the mute button didn’t work, so I asked about it in the Q&A section of the course. The title of the discussion is [SOLVED] Muting Background Music. The exact code that I ended up using is there.

Good luck!

Thanks much, I was having the same exact issue your Q&A thread got it sorted for me :slight_smile:

1 Like

Wow! Excellent job! I love the extra lives and how you displayed that. I need that in my game…my poor daughter is struggling to win it with just one life! :stuck_out_tongue_winking_eye:

Keep up the great work!

Privacy & Terms