you want to play Music1/Music2/Music3/Music4 in levels, and when switching to Menu you want to stop level music and play MusicMenu? When switching to level, you want to stop menu music?
Yes that's correct. I'm currently using 5 different music in the game (which is actually a game for little children).
Basically the idea is that every time I start a new game, I randomly pick a different music, and when I go back to the menu I always use the same music.So I have different situations:
- Some games break down into levels and use different layouts. When the "level" is completed, a new layout is loaded, but the music is uninterrupted. You have to keep in mind that a level can be completed in 15-60 seconds depending on the age of the child. If the player goes back to the menu, the music ends and the music from the menu kicks in.
- From the menu, you can go into sub-menus, which loads different layouts depending on the type of "game" picked. Because it's possible to go back and forth (from menu to sub-menu and vice-versa) without playing anything, I don't want to stop the music, so it remains uninterrupted.
It's all fixed, I have tested it thoroughly, it was obviously my mistake.
As you said the runtime, here did not make any difference in the end. It's only because I used the same file from C2 into C3 which was using the wrong folder, while the file I made in C3 was using the correct one. Hence the difference.
As for the tags, I have learnt something new :)