How to I have effects always match with music cues?

Get help using Construct 2

Post » Tue Nov 17, 2015 7:50 am

Hello, I have a situation where I have a long layout that automatically scrolls to the right that the player will follow. A song is playing throughout, and at certain parts of the song, certain effects will then appear. I had my times set up, but something I discovered while testing is that when my computer chugs a bit, it completely messes up the timing. Everything on my layout will slow down for maybe a second, but the music stays the same, so then it ends up out of sync and I can't properly time when I should have these effects happen at x seconds. How can I ensure that even if a computer is running very badly and slows everything down, the effects will still match with the song?
B
3
Posts: 3
Reputation: 181

Post » Wed Nov 18, 2015 3:56 am

@Penumbra
Dude, they have an audio expression call "PlaybackTime" in the audio expression, this might help you out!

Image

Have fun!
B
12
S
1
Posts: 84
Reputation: 1,487

Post » Wed Nov 18, 2015 7:32 am

Hrm, I'm sorry, but I'm having a little trouble understanding how this expression would work for this case. Could you explain it a little further? Thanks!
B
3
Posts: 3
Reputation: 181

Post » Wed Nov 18, 2015 7:47 am

@Penumbra
Sure, you will have to give me 2 things
1. The sound file that you want to use
2. the time in second of the sound that will trigger the effect

Then I'll make the example capx for you.
B
12
S
1
Posts: 84
Reputation: 1,487


Return to How do I....?

Who is online

Users browsing this forum: tarek2, Yahoo [Bot] and 22 guests