Page 1 of 1

How do I this type of jump

PostPosted: Thu Jun 30, 2016 5:28 am
by luckyrawatlucky
Image
Pic URL

How to make this jump with two button
jump on top center of the pipe or blank area
1st button give single jump
2nd button gives double jump

Re: How do I this type of jump

PostPosted: Mon Jul 04, 2016 7:55 am
by luckyrawatlucky
bump

Re: How do I this type of jump

PostPosted: Mon Jul 04, 2016 5:33 pm
by Prominent
I'm interested in knowing that too.
I have done something similar, when the target position is at same elevation: https://1drv.ms/u/s!AhHSZHEulqh_gU9DPED1KiXMfRAw
But I'm not sure how to solve it when the elevations are different.
I'll need to figure it out for something I'm working on at some point, but maybe someone else knows how to do it!?

Re: How do I this type of jump

PostPosted: Mon Jul 04, 2016 8:42 pm
by Prominent
okay, I found a way to do it:
https://1drv.ms/u/s!AhHSZHEulqh_gVD2DkEQ7E1H9Sgn
This capx will make the projectile hit the target regardless of where it is located, and you can adjust the time it takes and also the height.

Re: How do I this type of jump

PostPosted: Mon Jul 04, 2016 9:35 pm
by 99Instances2Go

Re: How do I this type of jump

PostPosted: Tue Jul 05, 2016 4:49 am
by luckyrawatlucky
Prominent wrote:okay, I found a way to do it:
https://1drv.ms/u/s!AhHSZHEulqh_gVD2DkEQ7E1H9Sgn
This capx will make the projectile hit the target regardless of where it is located, and you can adjust the time it takes and also the height.


No this is not what i need
see above pic
ball should jump according to the graph

Re: How do I this type of jump

PostPosted: Tue Jul 05, 2016 5:44 am
by Prominent
Just set a variable=2, when button pressed. If variable > 0 and is not currently jumping, then do jump and subtract 1 from variable. You'll need a way to check if it is in process of jumping or not- using a variable you set to true or false when you jump/land.