hello, I'm building a game for my college course and am struggling with trying to have my music to continue to play when the layout is reset. My game is a plat-former and when the player dies, the event is to restart layout, but this means the song is also restarted.
yes well you have to replay the song again on start of layout, there is no way around it, so the code should look similar to your menu song or when you start to play the specific song,
on start of layout audio> stop all sound | then| > play looping music name at what ever volume with whatever tag
Have the event that starts the music track first check if that track is already playing.
Develop games in your browser. Powerful, performant & highly capable.
Thanks for the replys, I managed to get it working by not resetting the layout and just resetting the position of the character.