Advanced Platformer Physics

Get help using Construct 2

Post » Sat Nov 02, 2013 9:35 pm

Hey everone!
I'm new to Construct 2 but have already managed to implement the basic events for a platformer game with a mix of the platformer behavior and my own code. Now I'm fine tuning the controls and ran into a problem.

With the standard platform behavior my character moves and jumps at the same speed. This is fine for running and jumping in the same direction. But I want to change the characters speed when I change direction in mid air. I know how to do this in theory but can't find the event command in Construct which checks if the horizontal direction of the player has changed.

I hope you can help me with this one.

RegardsDaylen2013-11-02 21:39:08
B
2
Posts: 1
Reputation: 152

Post » Sun Nov 03, 2013 5:23 am

Player is jumping > set deceleration to 4 (or some other low number that gives you the feel you want.)
Player is not jumping > set deceleration back to whatever it was.
B
25
S
7
G
1
Posts: 83
Reputation: 2,550


Return to How do I....?

Who is online

Users browsing this forum: bluesun66 and 7 guests

cron