How do I this type of jump

Get help using Construct 2

Post » Thu Jun 30, 2016 5:28 am

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
Image
B
64
S
39
G
46
Posts: 656
Reputation: 32,728

Post » Mon Jul 04, 2016 7:55 am

bump
Image
B
64
S
39
G
46
Posts: 656
Reputation: 32,728

Post » Mon Jul 04, 2016 5:33 pm

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!?
B
45
S
20
G
65
Posts: 1,115
Reputation: 38,121

Post » Mon Jul 04, 2016 8:42 pm

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.
B
45
S
20
G
65
Posts: 1,115
Reputation: 38,121

Post » Mon Jul 04, 2016 9:35 pm

B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Tue Jul 05, 2016 4:49 am

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
Image
B
64
S
39
G
46
Posts: 656
Reputation: 32,728

Post » Tue Jul 05, 2016 5:44 am

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.
B
45
S
20
G
65
Posts: 1,115
Reputation: 38,121


Return to How do I....?

Who is online

Users browsing this forum: Elliott, kellehk, rollyzz, Voytek and 23 guests