Music On/Off and Looping Backgrounds
Hi Guys,
Just wondering if any of you clever clever people can help me out with 2 issues i'm having with my game.
1: Music
I've worked out how to start - stop music by clicking on a button, when I play the game the audio stays off/on depending on whats been chosen (which is correct) - however, when the games finished and you go back to the main menu screen, the audio plays again? I thought it might be because I'm re setting the game and then going to the first scene? however, the audio should only come on if you click music? so I'm not sure whats happening here.
2: Bachground loop
Guys, I know this is supposed to be quite simple, but I really cant get my head around how to make a background menu loop. Does anyone know of any tutorials for dummys regarding this?
Cheers guys and thank you for any help you maybe able to give me.
Chris
Just wondering if any of you clever clever people can help me out with 2 issues i'm having with my game.
1: Music
I've worked out how to start - stop music by clicking on a button, when I play the game the audio stays off/on depending on whats been chosen (which is correct) - however, when the games finished and you go back to the main menu screen, the audio plays again? I thought it might be because I'm re setting the game and then going to the first scene? however, the audio should only come on if you click music? so I'm not sure whats happening here.
2: Bachground loop
Guys, I know this is supposed to be quite simple, but I really cant get my head around how to make a background menu loop. Does anyone know of any tutorials for dummys regarding this?
Cheers guys and thank you for any help you maybe able to give me.
Chris
Comments
Then a rule that says when change music is true and music button is pressed change song to... and change "change music" back to false
Then another rule that says if change music is false, resume music.