-
-
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
Dangerous tiles hurt Tux even when they are blocked off #1175
Comments
I feel like this is a collision rect problem where the collisiion rect of the spikes is maybe 1 or 2px larger than that of the block. |
If I understand the collision system correctly, it firstly moves objects to target positions, which depend on the objects' velocities. Then it tests if the object at the target position intersects with a tile, and after that it tests collision with other objects. |
That doesn't seem to be a good idea. If that's indeed the case, we'd have to change it. |
Here's a similar problem: |
SuperTux version: v0.5.1-1937-g4d1c419ea
System information: lubuntu
Expected behavior
Tux does not get hurt when he jumps onto the rock
Actual behavior
The spikes kill Tux although they are blocked by a rock object, which is as high as one tile
Steps to reproduce actual behavior
See the screenshot, jump onto the rock
The text was updated successfully, but these errors were encountered: