I have been away from C2 for a while ... and I have been trying over and over to figure this out but I forget..
How do I have one background (BG) sound looping EVEN when I go to several different layouts.
(and not restarting the same BG sound)
Help
Develop games in your browser. Powerful, performant & highly capable.
still not working consistently -- sometimes works . sometimes not ...aaarrggghhh
set a global variable , play song based on value
OnStartOfLayout >
If tag "BGMusic" is not playing > Play BGMusic
So your music will start on any layout if its not already playing. Once the music has started, it should continue to play (if you have it looping) indefinitely.
Thanks ... now I remember .. much appreciated —
Here is a screen shot ... the 'code' input needs to be inverted (see the red X )
Tekniko Thanks, this actually works