(SOLVED) How do I play sound when jump?

Get help using Construct 2

Post » Sun Nov 01, 2015 9:17 am

hi to all

in my game i added a sound for the character when he jump.
The problem is, the sound iis repeated, i added the "not loop" in the sound function.
But when the player push the buton jump and the character is jumping i need the sound be played just one time.
Last edited by imothep85 on Sun Nov 01, 2015 10:44 am, edited 1 time in total.
B
37
S
15
G
7
Posts: 1,679
Reputation: 9,610

Post » Sun Nov 01, 2015 10:11 am

set the play sound action to the triggered event (green arrow) that makes the player jump, that way it is only triggered once.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun Nov 01, 2015 10:44 am

thanks :D
B
37
S
15
G
7
Posts: 1,679
Reputation: 9,610


Return to How do I....?

Who is online

Users browsing this forum: David181, nahima, Shenkai the ssj and 21 guests