How do I play a sound twice at same time?

Get help using Construct 2

Post » Mon May 22, 2017 12:40 am

I have archers and i want each arrow to play the "blood" sound when hit an enemy. But when two arrows hit enemies at same time they play the "blood" sound just once. What can I make?
B
21
S
8
G
1
Posts: 29
Reputation: 2,000

Post » Mon May 22, 2017 1:09 am

Well you can add your sound play effect in a function, and call the function from the collision detection event to play the sound, but in the function it self add once every sec condition to like 1 sec, this means the sound can play only once every 1 sec.

Edit: If you want to play it twice, call the sound action twice, but you will have to add wait condition at least 0.1 seconds so they will not trigger at the same time ( if they do, you wont be able to tell the difference)
Like my work? Fallow me on social media, and see my games on the arcade.
B
7
S
5
G
9
Posts: 298
Reputation: 5,367


Return to How do I....?

Who is online

Users browsing this forum: 25games, Ashley, dop2000 and 20 guests