Advanced Platformer Physics

  • 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.

    Regards

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)