Lemmings Forums

NeoLemmix => Bugs & Suggestions => Closed => Topic started by: namida on November 21, 2020, 09:36:39 PM

Title: [BUG][PLAYER] Slider - Incorrect behaviour when sliding into water as a Swimmer.
Post by: namida on November 21, 2020, 09:36:39 PM
Quote from: Strato Incendus
- When a Slider slides into the water pool and is also a Swimmer, he immediately hops out of the water again, because sliding causes him to face the shoreline. :thumbsup:

If anyone has ideas for experimental levels where this is a problem, I will work on a fix now. Unless / until an affected level is put forward, this is a "will fix if/when skill makes the cut" matter.
Title: Re: [BUG][PLAYER] Slider - Incorrect behaviour when sliding into water as a Swimmer.
Post by: WillLem on November 22, 2020, 03:24:07 AM
Made a quick test level and I can vouch for this. What should be a very straightforward level becomes a puzzle purely because of Slider>Swimmer physics. To be fair, this isn't necessarily a problem.

The first pool has a high wall, so the Slider doesn't jump out, but instead turns against the wall and carries on swimming. The 2nd and 3rd pools, not so much.

Also - not sure if this is a bug: the drop into the 2nd pool was originally lined up to be pixel-perfect, but the lem landed directly onto the steel block rather than in the water, suggesting that the Slider falls 1px forward from the bottom edge of the wall. Again - not sure if this is a bug, but it wasn't what I was expecting. I had to move the pool structure to the left by 1px so that the lem would drop into the water.

The Slider is a great skill, and is definitely worth ironing these kinks out so that we can keep it!

EDIT: The previously attached version of this level was impossible in order to illustrate the point. This new version, with 2 Jumpers, now makes it solvable.
Title: Re: [BUG][PLAYER] Slider - Incorrect behaviour when sliding into water as a Swimmer.
Post by: namida on December 05, 2020, 02:49:06 AM
Okay, I see the issue, and this is a definite bug. It works correctly if a slider enters water, but the bug happens if a dehoister enters water. This should be easy enough to fix.

EDIT: On further examination, this is incorrect. The cause of the bug is actually related to whether or not the distance from the top of the wall (or where the slider clings on to it, in the case of a Jumper->Slider transition) to the water is even or odd - odd distances work, even distances do not.
Title: Re: [BUG][PLAYER] Slider - Incorrect behaviour when sliding into water as a Swimmer.
Post by: namida on December 05, 2020, 03:01:22 AM
Fixed in commit 435f3f9.