Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Music commands - transition from single track to multiple tracks

Author
Message
Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 8th Apr 2014 03:25
We've got a single track that plays for our home screen and death screen. The track is a small portion of the first track that plays when in the game.
What I'd like to do is allow the first track to finish playing and then start the tracks for the game.
I can't figure out how to do this.
Why doesn't AppGameKit have a command that lets us alter the music playlist without restarting it?

Van B
Moderator
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 8th Apr 2014 10:25
I would just calculate the number of seconds in track 1, then use the timer commands to check the progress of the track - when it's done you can loop tracks 2 to whatever you need. When you go back to the menu, fade the music out, stop it, then play track 1 again.

I am the one who knocks...
Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 8th Apr 2014 20:06
That seems like what I'll have to do. Thanks!

Login to post a reply

Server time is: 2024-05-11 12:51:35
Your offset time is: 2024-05-11 12:51:35