How do I disable air-control while jumping in a platformer?

Get help using Construct 2

Post » Sat Apr 11, 2015 9:49 am

Basically I want the player to commit to a jump when they hit the jump button, with very little to no in-air control.

Is there any way to adjust the level of control a player has while airborne?
B
5
Posts: 36
Reputation: 397

Post » Sat Apr 11, 2015 10:07 am

if i understand what you mean, you can do this:

player is jumping ---- set player speed to 0
or
player is falling

else --- set player speed to 330
Image
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Sat Apr 11, 2015 11:18 am

I've tried that. It doesn't seem to have any effect at all for whatever reason. The player object still has the usual amount of air control.
B
5
Posts: 36
Reputation: 397

Post » Sat Apr 11, 2015 11:37 am

B
55
S
28
G
19
Posts: 1,520
Reputation: 25,540

Post » Sat Apr 11, 2015 3:56 pm

Thanks ramones, that link gave me the tactic I needed to get it sorted. :)
B
5
Posts: 36
Reputation: 397


Return to How do I....?

Who is online

Users browsing this forum: Evanetot, ItsAstro, mehrshadfarahani, Pulstar, wowsoundsg and 5 guests