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

Addresses two common collision issues #2584

Merged
merged 1 commit into from
Jun 8, 2022

Commits on Jun 6, 2022

  1. Addresses two common collision issues

    The first is when you attack soon after crouching. If you timed it just right, attacking just before you went under a low ceiling would cause you to stand up and clip into the ceiling.
    
    The second, which is related to the first, would happen if you stood up right at the edge of a ceiling. The code would find a tile above the character instead of below, since even when standing still, gravity causes the collision code to run assuming you're falling down.
    
    Both of these situations are easiest to reproduce when on a moving platform.
    Protuhj committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    087f2fd View commit details
    Browse the repository at this point in the history