[BUG][PLAYER] Slider lemmings can shimmy across the bottom boundary of the level

Started by Armani, July 26, 2024, 05:51:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Armani


This bug is very similar to the bug that already had been fixed here: https://www.lemmingsforums.net/index.php?topic=5525.0
You can assign a shimmier to a slider lemming when he reaches the bottom boundary of the level.
My newest NeoLemmix level pack : Lemmings Halloween 2023 8-)

My NeoLemmix level packs(in chronological order):
  Lemmings Uncharted [Medium~Extreme]
  Xmas Lemmings 2021 [Easy~Very Hard]
  Lemmings Halloween 2023 [Easy-Very Hard]

namida

Partially fixed in commit 4d01963. Previously, an out-of-bounds check for a Shimmier (which has a more-sensitive out-of-bounds check than a lemming usually has, specifically in order to catch the edge case of "clinging to the bottom pixel of the level") was only performed if the Shimmier had moved downwards in the current frame. With a Slider being able to directly transition to a Shimmier at such a position, this check didn't trigger. I've now made it so that a Shimmier always performs this check, even if it hasn't moved downwards on the current frame.

I consider this a partial fix because I think the Shimmier assignment should be prevented outright in such a case.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

namida

My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)