odellbr2122
Member
I have music that is on my title and it changes upon entering the game. How do I change the music that plays throughout the game when I get to the boss level?
My audio track is labelled a_boss
/// @description Begin the Game
if (keyboard_check_pressed (vk_space) and room ==r_title){
room_goto(r_boss);
audio_stop_sound(a_title);
audio_play_sound(a_game, 10, true);
}
//Change Music if on Main Screen too Long
if (!audio_is_playing(a_title) and !audio_is_playing(a_game)) {
audio_play_sound(a_game, 10, true);
}
My audio track is labelled a_boss
/// @description Begin the Game
if (keyboard_check_pressed (vk_space) and room ==r_title){
room_goto(r_boss);
audio_stop_sound(a_title);
audio_play_sound(a_game, 10, true);
}
//Change Music if on Main Screen too Long
if (!audio_is_playing(a_title) and !audio_is_playing(a_game)) {
audio_play_sound(a_game, 10, true);
}