Lemmings Forums

Other Lemmings Projects => SuperLemmix => Closed SuperLemmix Bugs / Suggestions => Topic started by: WillLem on June 07, 2024, 12:53:27 PM

Title: [✓][BUG] Trigger area repositionings for flipped/rotated/inverted objects
Post by: WillLem on June 07, 2024, 12:53:27 PM
Before (Player):

(https://i.imgur.com/4RjrO4F.png)

After (Player):

(https://i.imgur.com/7xZb2Xq.png)

Before (Editor):

(https://i.imgur.com/gXflwFa.png)

After(Editor) - note that multiway resizable objects (i.e. water) are still incorrect - this will be fixed soon:

(https://i.imgur.com/hsXZ6zM.png)



The repositioning bug seems to have been caused by an ancient bugfix that was later addressed elsewhere in the code, but the original bugfix wasn't updated to match.

Player-side, we'll have to watch out for any existing levels which contain flipped/rotated/inverted objects - OWWs are all fine because they're exact squares, but basically all other objects may now have triggers in a slightly different (but, actually correct!) position as a result of this update. Thankfully, this is being done before there's too much made-for-SLX content. I only have a small handful of levels which are affected by this and it's been very easy to fix them.

Editor-side, the only remaining bug is that resizable objects' triggers are still not resized properly (note the water objects in the above screenshots) - I'll get this fixed ASAP.
Title: Re: [FEAT] Fixed trigger area repositionings for flipped/rotated/inverted objects
Post by: WillLem on June 08, 2024, 07:22:19 PM
And, rotated resizables are now fixed in the Editor. This was a fairly easy fix in the end, although it took a while to spot exactly what was happening; turns out that the logic simply needed swapping (i.e. adjust width for height and height for width rather than vice versa).

Before:

(https://i.imgur.com/VHsm5GK.png)

After:

(https://i.imgur.com/NJ3TkAV.png)