I want to give the same music to different layouts, say introductive layout, high score layout, help layout and the music should not stop when you click on the icon and the layout changes. How would you do it?
The music normally doesn't stop when you change layouts. You don't need to do anything.
just set loop ON
When I go back to the first layout it starts over again. I want it to continue even if going back to layout1. How I do that?
Develop games in your browser. Powerful, performant & highly capable.
It's probably because you are restarting it in your first layout.
Add a condition "If NOT Audio tag 'music' is playing", so that the music wouldn't restart if it's already playing.
thanks!