Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: bugmenot on Wed 09/10/2019 12:03:12

Title: If a game has no volume settings, is there still a way to change the volume?
Post by: bugmenot on Wed 09/10/2019 12:03:12
Usually games have a menu button that can control skill, speech, etc.
But if a game has no such menu, is there any way to lower or raise the volume?
Title: Re: If a game has no volume settings, is there still a way to change the volume?
Post by: Slasher on Wed 09/10/2019 13:00:51
If you are not going to use gui controls like buttons and sliders you can use keyboard keys..
Title: Re: If a game has no volume settings, is there still a way to change the volume?
Post by: bugmenot on Wed 09/10/2019 13:05:35
Use them how? If there's no menu for volume control, which keys can I use to lower the volume?
Title: Re: If a game has no volume settings, is there still a way to change the volume?
Post by: Slasher on Wed 09/10/2019 13:46:19
Check out

on_key_press and IsKeyPressed

Search here and read the manual...
Title: Re: If a game has no volume settings, is there still a way to change the volume?
Post by: Crimson Wizard on Wed 09/10/2019 13:56:01
bugmenot, do you mean that it is someone elses game that you are playing?

On Windows you can open audio mixer settings (access from volume slider) and control individual volume per application.
Title: Re: If a game has no volume settings, is there still a way to change the volume?
Post by: bugmenot on Wed 09/10/2019 18:51:44
Someone else's game, yes.

That's indeed what I did. Well, more specifically I used a program that can launch any program with a pre-defined individual volume.
But it's easier if the game just does it internally.