Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat
Audio class — Gideros Forum

Audio class

zaniarzaniar Member
edited September 2012 in Code snippets

Here is a class that will help you managing sounds on your game. It gives you an easy way to mute/unmute your BGM, SFX, or both. No need to check mute/unmute state manually anymore, this class will do that for you.
This class also ensure the currently BGM doesn't replayed accidentally. Say, you have 3 scene. In scene1 you play bgm1. Then the scene changes to scene2. In scene2 you call the code to play bgm1. Normally, bgm1 will replayed. This class will automatically prevent that. Sorry for my bad explanation. Just try it yourself ;)

available at


also (will be) available at

+1 -1 (+5 / -0 )Share on Facebook


Sign In or Register to comment.