supertux
                                
                                 supertux copied to clipboard
                                
                                    supertux copied to clipboard
                            
                            
                            
                        Walking in cramped space unexpectedly incurs hits/death
SuperTux version: SuperTux_2-v0.6.2-933-g5e5e1378a.glibc2.29-x86_64
Expected behavior
Getting the fire bonus and walking off the block shouldn't kill Tux.
Actual behavior
Walking off the block to the right hurts Tux, ultimately killing him.
Steps to reproduce actual behavior
- Play 'Going Underground' (Forest World).
- Go underground and hit the first bonus block as big Tux.
- Jump on top of the block from left side and keep walking right.
Additional debugging information

The collision box for the wall pushes Tux downward into the bonus block, which causes Tux to take a hit. If Tux was only big (and didn't have any powerup), he would now be small and wouldn't die. However, here he just got the fire powerup and therefore only loses that while remaining big. Continuing to push further right therefore kills him.

Perhaps this is related to #990?
This seems to happen because it thinks tux is getting crushed to death. Can't really blame them. It kinda does look like that.
its a pretty tricky bug to fix. rather than fixing the bug - which would change how collision intrinsically works (much harder fix) - fix the stages where the are cramped areas like this around bonuses. simple.
Can we force Tux to crouch instead of taking damage, if he's in the cramped area? So he cannot stand up until he leaves the cramped area.