Platform single direction jump

Get help using Construct 2

Post » Tue Jul 31, 2012 6:38 am

Hi guys,

I am wondering when using the platform jumping behavior, is there a simple way to set the behavior so that after you do the initial jump in a direction, the object will follow that jump direction all the way until landing?

Similar to how a fighting game jump behavior is set up, you can jump UP, FORWARDS, or BACKWARDS, but once you initiate that jump the direction cannot be altered by the controller?

I saw something regarding a sustained jump in the classic forums but wasn't sure if that is the same idea.

Thanks!
B
4
S
1
Posts: 7
Reputation: 601

Post » Tue Jul 31, 2012 9:14 am

I've done this before and it works pretty well.
As soon as you jump start ignoring input and set deceleration to 0.
Then when the player lands stop ignoring input and set deceleration to what it was before.
B
79
S
24
G
52
Posts: 4,725
Reputation: 39,713

Post » Tue Jul 31, 2012 3:20 pm

Ah I see, that works perfect!

Thanks ROJOhound!
B
4
S
1
Posts: 7
Reputation: 601


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Braus, dingalingboy and 4 guests