This site requires JavaScript, please enable it in your browser!
Greenfoot back
SP00F3R
SP00F3R wrote ...

2013/5/8

Volume Control

SP00F3R SP00F3R

2013/5/8

#
Problem now fixed! I'm looking to use the switch in Michael's Simple GUI Toolkit to toggle between mute and unmute and I'm having trouble implementing this and was wondering if someone could help me out. The sound is a gun sound and a game over sound thats played on death. I have tried this: http://www.greenfoot.org/topics/find/20049#post_20049 And looked at this: http://www.greenfoot.org/scenarios/7592 But my needs have slightly changed. Thanks. Edit - Is there a way of doing 'if X is CONDITION then sound is 0 else sound is 100' or along those lines to control the volume that sound fx in greenfoot plays.
You need to login to post a reply.