• 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!

trying to make music fade out when I change rooms! [SOLVED]

pixeltroid

Member
I specify the music for each room in the room creation code.

So a typical room would have this code in its creation code:

Code:
audio_stop_all();
audio_play_sound(ost_5, 8, true);
This code works in that it stops the previous rooms music and plays the present rooms music (ost_5). The problem is that the previous rooms music stops abruptly and feels "off".

How do I make it so that the previous rooms music slowly fades out?

Any help would be appreciated! thanks!
 
Top