FIXED Background Music Runs out

SpookyBurger

  • Posts: 82
Hi!  I have a background theme that starts when the player first enters the game, but doesn't restart when a player transitions from different scenes. 

The only problem I've had is after 2:30 (track length) is the music stops and I can't find a loop block.  I don't want to start the track over at the beginning of each scene since most of the rooms are relatively short and it'd be very obnoxious.

I've been thinking about making a game attribute number variable and add one to it every second, after it reaches 150 have the scene behavior start the track again.  Is there a more elegant solution I'm missing?  Thanks in advance.

« Last Edit: October 07, 2013, 04:33:00 pm by SpookyBurger »
Please try out my latest build of Patient 9 here.   http://www.stencyl.com/game/play/23179

colburt187

  • *
  • Posts: 2416
The sound block that says 'Play sound' can be changed to 'loop sound'. Just click on the section of the block that says play and you will get the option to loop the music.

SpookyBurger

  • Posts: 82
*Facepalm*
Thanks for the help!  I kinda feel like a tard now :P
Please try out my latest build of Patient 9 here.   http://www.stencyl.com/game/play/23179