• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GameMaker Choosing what Audio Group External Audio Is Part Of

When loading external audio how do you decide what audio group it is part of? Music needs to be in a separate audio group for me to adjust the volume separately.
 

obscene

Member
These are two contradictory things. Audio groups compile the sound effects into a dat file. External files are kept loose in your install directory. So you'll need to adjust the gain of those sounds independently. You can probably write a few scripts to emulate what you want however. For instance, when you add a sound, store it in a unique list for each audiogroup. Write an alternative script to replace audio_group_set_gain() that changes the audiogroup plus any sounds you stored in your custom list.
 
Top