How do I make it stop?

Get help using Construct 2

Post » Sat Feb 20, 2016 11:20 am

Hey guys!

I'm finishing my game right now and while testing I hit on some problems that I don't know how to fix...
When player dies the game makes layer 2 visible ''deadbox''. I added sound for jumping that is ok, but when player dies and I'm clicking on button on that layer 2 I can't stop that jump sound from playing...

For jumping i'm using invisible rectangle with the action jump.

Any ideas? I will be glad for every opinion.

Thanks a lot!!! :)
B
10
S
1
Posts: 42
Reputation: 620

Post » Sat Feb 20, 2016 6:49 pm

Use a group for your jumping controls. When dead, disable that group with event action.
Mistakes were made.
B
51
S
25
G
107
Posts: 1,581
Reputation: 60,458

Post » Sat Feb 20, 2016 7:23 pm

Thanks a lot! :) I was scared that it will stop my whole code. But it is working fine!
B
10
S
1
Posts: 42
Reputation: 620


Return to How do I....?

Who is online

Users browsing this forum: ChoosyZerk, dop2000 and 46 guests