No description
Find a file
Your Name 5b7ea9ec20 Rebuild level editor sidebar with a fixed virtual-space layout
Replace the fraction-of-window positioning (which overlapped and didn't
scale) with a small layout system: the sidebar is authored in one fixed
virtual coordinate space and rendered at native panel resolution, so
element sizes stay constant relative to the panel at any window size and
fonts scale with it.

- level_editor/layout.lua: sections, scrolling list (with clip + hit-test
  by point), scrollbar. Clip rects are scaled to real canvas pixels.
- Room view split into non-overlapping divs: search/back header, a
  scrollable asset list (replaces the old row-paging + forward buttons),
  a status strip, and a compact bottom control cluster.
- Mouse wheel scrolls the list; clicks map from window coords into the
  virtual space via the same transform used to render.
- Sidebar canvas is panel-sized and blitted 1:1 (nearest filter, never
  averaged) to stay crisp; editorDraw runs under a scale transform.
- Center text-only fields (level name) in their rect.

Also carried in main.lua (share the file, can't split cleanly here):
narrator require path fixed via love.filesystem.setRequirePath; sfxr
static uses waveform=NOISE again after the field rename; low-pass +
lower volume on the static loop.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-11 12:24:54 -04:00
art trim the main boxes to not overlap the X wall edges, moer distinct 2026-08-07 18:20:01 -04:00
docs add dialogue consequences design notes 2026-08-08 12:01:50 -04:00
font id_ 2026-08-06 23:15:48 -04:00
level_editor Rebuild level editor sidebar with a fixed virtual-space layout 2026-08-11 12:24:54 -04:00
libs Vendor libs/hump, sfxrlua, json4lua, narrator as real files 2026-08-11 11:37:09 -04:00
rooms add dialog 2026-08-08 00:09:50 -04:00
sounds id_ 2026-08-06 23:15:48 -04:00
stories add dialog 2026-08-08 00:09:50 -04:00
tools add dialog 2026-08-08 00:09:50 -04:00
_debug_helpers.lua automatically gets bouif pull = true then 2015-03-15 18:45:24 -04:00
_helpers.lua fix state thigns and port to love11 2026-08-07 20:56:55 -04:00
art.lua wowowowowowowo so much stuff 2015-03-14 05:36:02 -04:00
artifact.lua automatically gets bouif pull = true then 2015-03-15 18:45:24 -04:00
assorted.lua basic serialization worx* 2015-03-17 01:59:14 -04:00
CLAUDE.md Add CLAUDE.md project guidance 2026-08-06 23:15:45 -04:00
color.lua fix state thigns and port to love11 2026-08-07 20:56:55 -04:00
conf.lua fix state thigns and port to love11 2026-08-07 20:56:55 -04:00
dialogable.lua add dialog 2026-08-08 00:09:50 -04:00
dialogue_manager.lua add dialog 2026-08-08 00:09:50 -04:00
door.lua we're back baby 2026-08-07 01:57:48 -04:00
entity.lua add dialog 2026-08-08 00:09:50 -04:00
generic_moveable.lua so we have a lot of it wor_ing properly, now we have to do the thing where it preloads necessary spritesgit add -A 2026-08-06 23:15:48 -04:00
generic_unmoveable.lua id_ 2026-08-06 23:15:48 -04:00
input.lua move repeatedly in direction 2026-08-07 02:01:39 -04:00
main.lua Rebuild level editor sidebar with a fixed virtual-space layout 2026-08-11 12:24:54 -04:00
npc.lua add dialog 2026-08-08 00:09:50 -04:00
player.lua fix state thigns and port to love11 2026-08-07 20:56:55 -04:00
room.lua add dialog 2026-08-08 00:09:50 -04:00
shaders.lua player done, old way 2015-03-15 15:34:17 -04:00
switch.lua kill dead code 2026-08-07 01:05:08 -04:00
TODO so we fixed up some bugs and restructured the level editor. master fiel. 2026-08-06 23:15:48 -04:00
world.lua fix state thigns and port to love11 2026-08-07 20:56:55 -04:00
world_seed.lua idk even anymore 2026-08-07 01:39:47 -04:00