mute button

3 posts

Flag Post

k well i’m adding sound to my games today but i want to know how to make a mute button

 
Flag Post

one way is to play sound not directly but trough some function and in it check if mute==true. if so do nothing.

 
Flag Post

You can see the code for how I handle music functions <a href = “http://www.fantasticchoice.com/jukebox.php&#8221;&gt;here. (scroll down to see code)

For mute I am basically doing what dxOne talked about.