Multiple soundtracks

battleduckbattleduck Member Posts: 105
edited December 2011 in Working with GS (Mac)
Morning all,
isI won't to be able to have 3 different tracks as backing music in my game. I'm going to implement a button on the pause screen to allow the player to select which track is playing, but was wondering about each track playing one ofter the other by default.

Is there a way to detect when one music file has finished to be able to trigger another without having a timer for 'after 3:??secs' (length of the track)

Thanks Battleduck

Comments

  • applaudmobileapplaudmobile Member Posts: 208
    no you would have to use a timer or the game.time
  • anithmukanithmuk Member Posts: 235
    edited December 2011
    I'm working on something similar for the game I'm making now. Its gonna have around 7 or 8 tracks and I'm working on a little music player that will both play the songs after each other in a random order, and allow the player to scroll through songs. I've made a bit of progress but if anyone has any tips that would be useful. Anyway I'll send you a template when Im done if you still need it (might be another couple of months until I finish the game) but until then the easiest thing for you to do is just to set up a series of timers.
Sign In or Register to comment.