[BUG][EDITOR] No Overwrite objects not displayed with correct overlap

Started by namida, November 04, 2017, 01:30:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

namida

Steps to reproduce:
1. Place an object, let's say, an exit.
2. Place another object, let's say, a window.
3. Set both to have No Overwrite.
4. Place the window and the exit so that they are overlapping each other.

The object that is in front in terms of object order (in this case, the window; which could change by playing with the "To Front" / "To Back" buttons) should be displayed behind the other object. Instead, it's displayed in front. (Compare to how it looks in-game, which DOES draw them correctly.)

I'm not sure how the editor actually renders objects. If it uses a similar process to the game itself - ie: draws No Overwrite and regular objects on seperate layers, which are then combined into the final image - the correct effect would be achieved by rendering the objects on the No Overwrite layer in reverse order.
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)

Nepster