Master Cabalist
Member
So I don't know much about the audio system. I know I have 48 stages, each with its own music. Now I have a store where the player can purchase gems. The store has its own music. So if you click on the coin icon it takes you to the store, the music changes. Now I want to be able to return to the game and switch back to the previous room's music. How do I go about that? I thought about setting a variable when I do the audio_play_sound but that means I would have to have 48 variables to code by hand. Actually 96 lines code since I have to change the initial audio_play_sound and then I have to change the music in the store back to the room's music. There has to be a more efficient way to go about this.
Thanks
Ted
Thanks
Ted