How do I platform jumping, after starting a fall.

Get help using Construct 2

Post » Tue Mar 22, 2016 3:22 pm

How do I accomplish this without enabling double jump all the time?

http://imgur.com/SJaiTdQ


I'm using platform controls currently.
B
4
Posts: 4
Reputation: 208

Post » Tue Mar 22, 2016 4:39 pm

Make an invisible sprite called "JumpZone" and place it where ever you want this behavior. Make an event that says when player is overlapping jumpZone and jump button pressed it simulates jump like normal. You might have to tweak the size, shape, and coding but it seems the easiest way outside complex math imho.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
70
S
19
G
8
Posts: 639
Reputation: 9,674

Post » Tue Mar 22, 2016 4:41 pm

Thanks for the response, but I want this behavior throughout the entire game. So that's alot of extra objects just for jump zones.

Anyone else have anything?
B
4
Posts: 4
Reputation: 208

Post » Tue Mar 22, 2016 9:04 pm

capx :

http://www.johnnysix.net/games/infinijump.capx

demo :

http://johnnysix.net/games/brocolijump/

I just set the Y vector of the platform object to negative jump strength - in this example, it can only be triggered when he's falling . :)

Image
Image
B
27
S
9
G
5
Posts: 488
Reputation: 11,948


Return to How do I....?

Who is online

Users browsing this forum: facecrime and 28 guests