SimonN / LixD

Lix: Lemmings-like game with puzzles, editor, multiplayer
https://www.lixgame.com
133 stars 17 forks source link

Walker bypasses trap, faller is killed #132

Open SimonN opened 8 years ago

SimonN commented 8 years ago

trap-inconsistency-Ramond-2016-07-22.txt

Examine the lixes from the right hatch. One bypasses the trap. One is killed by the trap.

Expected instead: Both die, or both survive.

SimonN commented 8 years ago

Equivalent to this bug in C++ Lix: http://asdfasdf.ethz.ch/~simon/bb/topic.php?topic=212

Copy&paste from the description behind that link:

Proposed fix: Put a flag for non-permanent gadgets and flingers in the lookup map. If the lookupmap says the tumber went over a trap, then remember the position of the point where that happened and go through the list of traps to find which one it was.

SimonN commented 6 years ago

Because of these differences in the first frame, some walkers bypass the trap, others are inside. This is strange code, its purpose is to have smoother movement when the lixes don't stop on landing.

This is not the root cause of the bug, it merely triggers the bug. I still advise the proposed fix from previous post.

SimonN commented 2 weeks ago

It's still in Lix 0.10.26:

Runners Bypass Exit, Walkers Exit on Lemmings Forums.