How do I audio

Get help using Construct 2

Post » Mon Jan 05, 2015 7:09 am

lets say you have three background music songs that you want to play back to back in one level but after that last song played how would you go about starting it back to the very first song after all the songs have played if the person is still playing the same level
B
11
S
3
Posts: 216
Reputation: 1,279

Post » Mon Jan 05, 2015 9:55 am

I would put the track names into an array, then on an audio ended event look at the next item in the array and do a play(Array.At([Number here])). To do this you would also need to keep track of where you are in the array and know the array length to set it back to 0 when it gets to the end.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542


Return to How do I....?

Who is online

Users browsing this forum: Fradno, Google [Bot], HellMax, marcinkowski, tarek2 and 14 guests