Mute and unmute sound?
http_gamesalad
Member Posts: 1,340
I thought there was a behavior for this... How would I mute and unmute sound? (I already have the trigger switch set up)
Comments
There are Attributes for Sound and Music Volume, set one or both to zero.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
@jamie_c do they go from 0-1 or 0-10 in terms of the volume of sound ?
0 to 1. Google gamesalad sound volume for lots more info.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
In the 'trigger switch' place the following rule:
When touch is pressed: change sound.volume to 1-sound.volume