SuperTux / supertux

SuperTux source code
https://supertux.org
GNU General Public License v3.0
2.48k stars 474 forks source link

Fix issues with unisolid tiles and frozen enemies #2933

Open Brockengespenst opened 2 months ago

Brockengespenst commented 2 months ago

Addresses the following topics:

Fixes #2929

Brockengespenst commented 2 months ago

These changes should fix all mentioned issues in #2929. I changed the collision group of the PushButton to static, I guess this makes more sense. Also it prevents the PushButton to be pushed away a bit by throwing frozen enemies at it. If this behavior was intended, please let me know.

Rusty-Box commented 2 months ago

I changed the collision group of the PushButton to static, I guess this makes more sense. Also it prevents the PushButton to be pushed away a bit by throwing frozen enemies at it. If this behavior was intended, please let me know.

Finally, no more pushing the push(hihi)button around! 🎉

Brockengespenst commented 2 months ago

Just one thought: If standing on a frozen enemy - should it be treated like ice such that it is a bit slippery?

Eauix commented 2 months ago

Just one thought: If standing on a frozen enemy - should it be treated like ice such that it is a bit slippery?

This could be interesting, as it'd make more sense afterall. Speaking of this, I have an idea for a little change on the physics of frozen enemies, they could be thrown just like a Mr. ice cube or a snail, but break on impact with a wall. As of now the frozen enemy acts only like a rock that can be destroyed, which imo is kinda lame. They could still be put on the ground by releasing it while ducking

Brockengespenst commented 1 month ago

Does anyone else want to share an opinion?