Page 1 of 1

sounds

Posted: 24 March 2013, 21:11
by ddyer
I want to remove the annoying ding-dong and replace it with a traditional "thwack" when a stone is played.

Re: sounds

Posted: 03 April 2013, 21:24
by Rudolf
I've found that about sound in another game. I suppose you can use this to define your own sound.

Code: Select all

soundManager = new ebg.core.soundManager();
                soundManager.soundMode = 0;
                var audioSupport = soundManager.init();

                if( ! audioSupport )
                {
                    soundManager = new dojox.av.FLAudio({
                        initialVolume: .5,
                        autoPlay: false,
                        isDebug: false,
                        statusInterval: 500
                    });
                    soundManager.load({
                        url: "http://1.studio.boardgamearena.com:8081/data/themereleases/130118-1659/sound/yourturn.mp3",
                        id: 'yourturn'
                    });
                    soundManager.load({
                        url: "http://1.studio.boardgamearena.com:8081/data/themereleases/130118-1659/sound/chatmessage.mp3",
                        id: 'chatmessage'
                    });
                    soundManager.load({
                        url: "http://1.studio.boardgamearena.com:8081/data/themereleases/130118-1659/sound/move.mp3",
                        id: 'move'
                    });
                }
                soundManager.bMuteSound=false;
                soundManager.sounds={"yourturn":"yourturn","chatmessage":"chatmessage","move":"move","joinTable":"move","tableReady":"yourturn"}; 

Re: sounds

Posted: 03 April 2013, 22:24
by Een
Hi,

In fact, the ding-dong sound is a global sound telling the player that it is his turn (this is especially useful in games when a player might need some time to ponder, and other players are waiting).
This sound can be changed for another by players as a global preference (http://en.boardgamearena.com/#!preferences, under "sound preferences").
There is even one sound available that is not very far from a traditional "thwack" ;)

Being a global sound chosen by players, it is not meant to be overriden in any specific game.