NeoLemmix > Closed

[FIXED][BUG][EDITOR] Left-facing entrances are drawn flipped

(1/1)

namida:
In-game, such windows are drawn as normal, simply with directional indicators displayed at the start of the level and in Clear Physics Mode.

An indicator would need to be added if the draw-flipped is fixed, so I haven't done that yet. I have implemented a semi-fix in commit 3177040, which ignores flipping for the purpose of drawing the window's trigger area. Not perfect, but it's good enough to at least give an accurate portrayal of the physics of the window.

Why this matters: Yes, all (or most?) current windows are close to symmetrical, but (a) many aren't perfectly symmetrical, and (b) this doesn't mean all future ones will be. If we're only worried about (a), my semi-fix should be good enough alone.

Nepster:
I implemented it this way to give at least some visual clue in the editor, how the hatch is facing. So the actually intended behavior would have been exactly what you did in your commit 3177040.

I totally agree though, that this was not a perfect solution and should be replaced by something like displaying a small directional marker in the editor. Will have a look...

Nepster:
I implemented now a better way of rendering flipped hatches: The hatch sprite now gets never flipped (consistent with the player), but now an arrow is drawn at the bottom right corner of the hatch to indicate the direction.

Navigation

[0] Message Index

Go to full version