How do I holding jump while the key is pressed?

Get help using Construct 2

Post » Wed May 31, 2017 11:33 pm

How can I set the player continue jumping while a key is down? (I tried Key is down -> simulate Jump, but it jumps once), thanks for future answers
B
4
Posts: 2
Reputation: 204

Post » Thu Jun 01, 2017 7:36 am

Try adding wait every sec (system action) to the event as condition.
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,357

Post » Thu Jun 01, 2017 8:48 am

Maybe add an event
Code: Select all
Platform On Landed AND Key is down -> Simulate Jump
B
32
S
7
G
4
Posts: 397
Reputation: 4,589

Post » Thu Jun 01, 2017 9:00 am

To make the character continue to jump while key is down you can do the following:

is key down + player is on floor ---> simulate jump

You can also do as grigrizljac suggested with the on landing trigger but then you have to have another jump event otherwise the player will only be able to jump when landed is triggered and can not jump initially.
B
52
S
22
G
12
Posts: 725
Reputation: 11,716

Post » Fri Jun 02, 2017 10:11 am

No one of these methods work. Should I have to disable Default controls?
B
4
Posts: 2
Reputation: 204


Return to How do I....?

Who is online

Users browsing this forum: AekiroStudio, Linetaru and 8 guests