How do I Jump without repeatedly pressing the button

Get help using Construct 2

Post » Mon Mar 30, 2015 1:51 pm

Hey everyone,

I'm trying to make a platform game, and I find it disturbing when I have to keep pressing the up arrow key to jump. How can I solve this problem?

I'm sure almost everyone knows the "Crazy Taxi Game". In this game, you don't have to keep pressing the space bar to jump when you can just hold the space bar and keep jumping.
B
7
S
1
Posts: 34
Reputation: 536

Post » Mon Mar 30, 2015 3:26 pm

Add the conditions:
Keyboard: Key is down
Player: Platform is on floor

And action:
Player: Simulate pressing Jump
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,650

Post » Mon Mar 30, 2015 4:04 pm

ramones wrote:Add the conditions:
Keyboard: Key is down
Player: Platform is on floor

And action:
Player: Simulate pressing Jump


It didn't work :( I still have to keep pressing the button to jump.
B
7
S
1
Posts: 34
Reputation: 536

Post » Mon Mar 30, 2015 4:45 pm

It should work. Make sure you use 'key is down' and not 'on key pressed'.

Image
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,650

Post » Mon Mar 30, 2015 5:01 pm

ramones wrote:It should work. Make sure you use 'key is down' and not 'on key pressed'.

Image

It worked! Thanks a lot! :D
B
7
S
1
Posts: 34
Reputation: 536


Return to How do I....?

Who is online

Users browsing this forum: plinkie, rayolf, SashikLV, Yahoo [Bot] and 6 guests