Loop music back to a certain point

Get help using Construct 2

Post » Tue Jan 28, 2014 5:05 pm

Is there a way to loop the music back to a certain point in the song? Kind of like how you can do it for animations? I want to be able to play the beginning of a song only once, and have the song loop back to part 2 after it finishes instead of repeating
B
35
S
5
Posts: 411
Reputation: 3,406

Post » Tue Jan 28, 2014 5:27 pm

Yes you can. The Audio object has a "seekto" function that plays a sound starting from a time given, going back/forward from where you were in that sound.
So get the exact timestamp of the start of part 2, and add a seekTo at the end of the song :)
B
17
S
8
G
4
Posts: 461
Reputation: 6,147

Post » Tue Jan 28, 2014 6:42 pm

thanks! :) also one more question...

We import .WAV files, but once they are converted, do we need to keep them? they raise the download size a lot
B
35
S
5
Posts: 411
Reputation: 3,406


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests