Lemmings Forums

NeoLemmix => Bugs & Suggestions => Closed => Topic started by: namida on December 26, 2020, 11:18:14 PM

Title: [BUG][PLAYER] Positioning issue when loading state with projectiles?
Post by: namida on December 26, 2020, 11:18:14 PM
https://www.lemmingsforums.net/index.php?topic=5215.msg88978#msg88978

Haven't looked into this at all yet - my guess that it's to do with loading state is purely based on (a) the circumstances in which the bug is described as occurring; and (b) that there was an earlier, similar bug arising from a similar situation (I suspect this is a case of "not quite 100% fixed, I only made it less common/severe").
Title: Re: [BUG][PLAYER] Positioning issue when loading state with projectiles?
Post by: namida on December 28, 2020, 12:34:48 AM
It seems the key to making this happen is to make the assignment 4 frames before a state is saved. (Manual states aside, this would mean assigning it on a frame where the frame number mod 170 is equal to 166.) I set up a level where I could assign a spearer to a different lemming on each consecutive frame, and the bug did not occur with assignments on frame 165 or 167, so it really is a "must be on the exact correct frame" bug. The effect seems to be that the spear is moved down by one pixel. Most interestingly, this bug does not appear to affect grenaders.
Title: Re: [BUG][PLAYER] Positioning issue when loading state with projectiles?
Post by: namida on December 28, 2020, 12:49:02 AM
Fixed, as is a similar bug involving cloned or blockered throwers, in commit e138f38.