I have one questions for you... (Coolio:) I would like to know how to turn off sound in game. Is there a possibility to do so?
In my game?
Thanks
next time try going into the ags manual and type in sound
then under multimedia you will find your answer
StopAmbientSound
StopChannel
StopMusic
Hope this helps
I understand this, but to be clear - I want a player playing my game later to have the possibility to do so. To turn of/on the music sound.
There is a setup the player can always tweak with. But if you want him to be able to change the sound settings in midplay you can set up an options gui with the sliders or buttons and link it with the next commands:
SetDigitalMasterVolume()
SetSoundVolume()
SetSpeechVolume()
SetMusicMasterVolume()
passing 0 will disable all the music and sound effects (except for MIDI):
SetDigitalMasterVolume(0);
~Cheers