Toggle Mute Implementation - 1
Cosmic Chaos » Devlog
• Created a 'MuteButton' to handle the mute/unmute functionality.
• Added the Mute/Unmute icons to visually represent the sound state.
• Updated the 'Shoot' method to set laser sound volume just before playing it.
OUTCOME:
Successfully implemented a toggle mute feature for the laser sounds.
BUGS:
Background Music doesn't mute when toggled (I can't seem to fix but have contacted another developer for some advice).
NEXT STEPS:
Live score boards and username input!
Files
web.zip Play in browser
Feb 02, 2024
Cosmic Chaos
Destroy hoards of UFO's, and avoid enemy fire!
More posts
- Fixed - Cosmic ChaosFeb 02, 2024
Leave a comment
Log in with itch.io to leave a comment.