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!

https://gamebucket.io/game/9cfba6c1-b52d-49f7-b8f2-3285fa5e78d7

3 Likes

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?

Regards,

JB

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: https://docs.unity3d.com/ScriptReference/AudioSource-mute.html.

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