Platformer: How to keep jumping without releasing

Get help using Construct 2

Post » Sat Dec 14, 2013 4:51 pm

Hey, working on a simple platformer and i have a small problem.

The only control player has is just JUMP.
Longer the player has button pressed the higher he will jump.

But if i want to keep jumping i have to release, and then press again when it touches the floor.

So how do i make it that i can have my mouse button/finger pressed and object will keep jumping whenever it hits the floor without me having to release and press again.


http://gyazo.com/88bf1cff5a89e1511af0eaf8e7e70590

Thx
ScSupaplex2013-12-14 16:52:28
B
4
Posts: 12
Reputation: 224

Post » Sat Dec 14, 2013 5:29 pm

Try replacing the first "On any touch start" with "Is in touch".
Borka223 from RecGames
B
14
S
4
G
5
Posts: 39
Reputation: 2,987

Post » Sat Dec 14, 2013 5:40 pm

is in touch and is on floor are the combination you want
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,603

Post » Sun Dec 15, 2013 2:10 pm

Thanks alot ! It helped ;)
B
4
Posts: 12
Reputation: 224


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 40 guests