Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Kinoko on Mon 20/11/2006 14:56:23

Title: SUGGESTION: Lower SetMusicVolume value ie. mute
Post by: Kinoko on Mon 20/11/2006 14:56:23
Is it already possible to do this? If not, I think it'd be useful.

My game will have a control panel for the music where you can increase or decrease the music volume from between -3 to 5 (the game error message told me -3 to 5, but the manual says -3 to 3 ... which is it? I must admit, I don't hear a difference between 3, 4 and 5 but can someone confirm this for me?)

I intend to also have a "Music On/Off" button which will allow you to, obviously, stop or restart the music.

It's not a big deal at all, but it seems to me that it would feel more natural if you could actually go one value lower than -3 when lowering the volume to actually mute the music. I can't just use StopMusic because when you increase the value again, the music will have started again from the beginning.

Although there's almost certainly a work-around for this, I think it'd be a good idea to simply have avalue of -4 for mute, if it's possible.
Title: Re: SUGGESTION: Lower SetMusicVolume value ie. mute
Post by: Pumaman on Thu 23/11/2006 20:07:07
The whole music volume system really needs a bit of an overhaul, it's all a bit silly and complicated. It's something I'll certainly look into.
Title: Re: SUGGESTION: Lower SetMusicVolume value ie. mute
Post by: Radiant on Mon 27/11/2006 12:09:08
You might be able to use PlayMidiSilent (sp) as a workaround?