Starting music tracks at certain points?

Get help using Construct 2

Post » Mon Jan 06, 2014 6:47 pm

I'm developing a rythm game, and I've come to the point where I'm making a long bossfight, which makes me want to implement checkpoints. However for checkpoints to work in a rythm game, I need to be able to start the track from certain points (for instance 1 min, 37 sek out in the song). Any Ideas on how to pull this off?

Also. Is there any way to track how far a song has played? The current solution I'm running with is starting a timer at the same moment a song starts playing, but it doesn't cut it anymore since all it takes is a small lagspike to throw the sync off. I need a precise and foolproof way of tracking the audio.

Thanks
B
29
S
9
Posts: 356
Reputation: 2,938

Post » Tue Jan 07, 2014 4:54 pm

For your checkpoint issue, there's an action on the Audio plugin called 'Seek To' that should do the trick for you.
B
18
S
6
G
2
Posts: 57
Reputation: 2,479

Post » Tue Jan 07, 2014 7:04 pm

Ah EUPHORIA! Almost a bit embarrassing that I didn't notice that function until now. Thanks a lot!
B
29
S
9
Posts: 356
Reputation: 2,938


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest