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
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.
Posts: 83
Reputation: 2,600

Return to How do I....?

Who is online

Users browsing this forum: dop2000, SERGIOManOwaR, Slug101 and 9 guests