How do I Handel dynamic 2d ss double jumping

Get help using Construct 2

Post » Tue Apr 21, 2015 11:44 am

Hello all,

Working on improving the character movement this week: today is double-jump day!

So I'm using a the built in Platformer behaviour Jump/Jump sustain to allow the character dynamic jump hight (without having to mess with the gravity) but I'm using a custom DJ event, simple but effective:

>> If Player CanDoubleJump = 1
>> If Player is X on floor
>> If (A) is pressed : Set CanDoubleJump = 0
Add Vector Y -(jump strenght)

No the problem is is that although this works well in most situations, I would like to allow the same dynamic jumping height to the double jump as is permitted in the regular Jump.

Any ideas?
B
7
S
2
Posts: 51
Reputation: 627

Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 20 guests