Jumping with Physics

Get help using Construct 2

Post » Sun May 12, 2013 1:00 am

@7Soul - Thanks for doing this. A couple things I noticed in this - if you spam space bar, it will do a double jump BOTH at an impulse of 8. Also, if you just tap it, the jump launches too high instead of something like super meat boy (ie. barely jumping off the ground). I'm wondering if it's impossible to re-create a platform like jumping system using physics?

B
22
S
3
Posts: 451
Reputation: 2,135

Post » Sun May 12, 2013 1:50 am

[quote]if you spam space bar, it will do a double jump BOTH at an impulse of 8.[/quote]
Add another action to the jump:
>Set 'jump' to 0

For the rest I guess just a lot of toying around with the values would be enough.
If you increase the gravity and the strength of the air hang time, I think it will be more like super meat boy
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134

Post » Sun May 12, 2013 2:21 am

@7Soul - I think you're right about toying around with the values. Setting Player.Jump to 0 on the Space is Pressed event doesn't seem to fix the issue. I think it's because of the "character overlapping floor > set jump to 10" event.
B
22
S
3
Posts: 451
Reputation: 2,135

Post » Sun May 12, 2013 3:03 am

Maybe add a limit to how often you can jump, like a half-second or so?
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134

Post » Sun May 12, 2013 7:26 am

@7Soul - Thanks for the help!
B
22
S
3
Posts: 451
Reputation: 2,135

Previous

Return to How do I....?

Who is online

Users browsing this forum: GUN, Yahoo [Bot] and 18 guests