-
-
Notifications
You must be signed in to change notification settings - Fork 492
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
Slopes acting weird in some situations #2885
Comments
At least for behavior 1 #2810 should provide a fix. |
One more thing, I found out that the swimming thing doesn't only happen when the level is upside down, it happens whenever the player hitbox is inside a slope hitbox, which is especially noticeable with the unisolid slopes |
Regarding the slopes: I might be wrong, but I think the changes to the collision system in c2cc19b#diff-c1529ab5a98940b5cd63f179a8ce537a83df9f7e19349fc16f78afdb22ec8097 seem to have a negativ impact on Tux' behavior on the slopes. |
i know this and the solution is to improve the is_free_of_tiles function because it's limited and unnecessarily hard to comprehend. It feels like it was only meant to check for solid tiles. |
i have reopened #2886 |
SuperTux version:
build "SuperTux-v0.6.3-1154-g3c243e77d" from 2024-04-01 21:37
System information:
Windows 10, 64 bit
Expected behavior
Tux walks and slides normally on slopes
Actual behavior
Tux only acts normally if he's small and the level is not flipped.
Behavior 1 - Big Tux gets stuck in an inclinated crawling/ducking animation
Behavior 2 - Big Tux starts to jitter on the slope as if starting to fall multiple times
Behavior 3 - Tux swims as if the slope was full of water
Steps to reproduce actual behavior
Behavior 1 - Release the [Down] button while you are sliding on a slope
Behavior 2 - Walk off the slope after reproducing behavior 1 and then slowly walk over the slope again
Behavior 3 - Flip the level upside down
Video with all behaviors being reproduced
The text was updated successfully, but these errors were encountered: