Hello everyone.
Well. I am almost done with my programming game which I can later on show to you guys when its done. The design is done. the algorithm is done as well. Its only the sound that I'm having trouble with right now. So basically what i'm trying to do is to have a background music in my menu. Until i'm in the game. the music should just end and until i'm pressing the "back" button which takes me back to the menu. the music should start over again. But I could only make the background sound goes in loop and every time it jumps to the menu. it starts the same song but from the beginning. which means it I do that multiply times, your ears will probably not like it.
So basically what I'm trying to do. Is to make this function with background music to work. While im in the Menu (The music should go in a loop) and when i'm in the "game" it should end until I press a button that is back.
So I don't really know what code to show you since I have almost 20+ classes.
Im posting a picture right now and I hope you guys can help me out with this! :)


SoundOn.class :
