Devlog/Level Editor

Level Editor 1.2

Level Editor v1.2 1 min read
Level Editor 1.2

Level mirroring fix (Level Editor → Unity / OBJ)

The 2D editor works in Y-down screen space, which was causing exported levels to come out mirrored along their north-south axis. We fixed the handedness properly for each target: Unity (left-handed) now maps mapY → -Z, with triangle winding swapped to keep culling correct, thing positions negated on Z, and thing rotation corrected to 90 + angle. Importantly, we then realized the OBJ exporter is right-handed and needs no negation at all — the two targets are mirror opposites — so the OBJ path was reverted to write Z verbatim. Net result: geometry now lands the right way round in both Unity and Blender. Also cleaned a stray buildlog.txt out of the repo.

Recent textures on the toolbar (Level Editor)

Added a quick-apply row of 5 recent-texture slots to the toolbar. Picking a texture from a sidebar combo (floor / ceiling / wall) pushes it onto a de-duplicated most-recently-used list; clicking a toolbar slot then applies that texture straight to the current selection — the picked face in 3D, or the selected wall / sector floor in 2D. Slots render real texture thumbnails (with grey "empty" and red-cross "missing" placeholders), and the row refreshes whenever the project or texture set changes.

Get Level Editor Comment on itch.io Level Editor overview