Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add slope support #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 5, 2020

  1. Fix unwanted character sliding on slopes and add new ramp obstical

    The character used to slide down slopes with a low enough incline to be
    the floor.
    
    The character used to run up (or slide up if in the Air state) slopes
    that are too steep to be the floor.
    
    New bad behaviour:
    - On slopes with an incline equal to max_floor_angle, the character
    makes a slight hop after running up and looses their grounding when
    running down them.
    - When the character runs into a steep slope they perform short hops due
    to sliding upwards. Ideally the player would stay on the ground (no
    sliding up the slope). This can be exploited to jump higher.
    
    A new ramp obstical (Rampy) was added to the main Game scene to test the
    slope behaviour.
    
    Closes: gdquest-demos#25
    maystey committed Apr 5, 2020
    Configuration menu
    Copy the full SHA
    b0f3d0c View commit details
    Browse the repository at this point in the history