Commit graph

18 commits

Author SHA1 Message Date
Your Name
a60f46d585 player blocker 2026-08-11 20:29:35 -04:00
Your Name
e5e80c2754 Save editor player positions by default 2026-08-11 20:09:07 -04:00
Your Name
c3a2692351 Add spiky box variants 2026-08-11 20:08:58 -04:00
Your Name
d426306c94 Clear runtime saves after editor save 2026-08-11 16:37:11 -04:00
Your Name
858775fdc8 Improve world editor palette workflow 2026-08-11 16:24:51 -04:00
Your Name
f549eaf523 Add directional sticky and skewer box variants 2026-08-11 15:07:11 -04:00
Your Name
c3f5aafd77 Add drag painting to level editor 2026-08-11 14:11:57 -04:00
Your Name
e51dc22ca1 fix level editor truncation 2026-08-11 12:45:31 -04:00
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
Your Name
c92c0f6ff7 fix state thigns and port to love11 2026-08-07 20:56:55 -04:00
Your Name
0f79fe99ae editor search 2026-08-07 09:08:34 -04:00
Your Name
b9b0726506 misc 2026-08-07 03:22:28 -04:00
Your Name
febaaaacc7 idk even anymore 2026-08-07 01:39:47 -04:00
Your Name
a8b469876d level editor improvements 2026-08-07 01:01:49 -04:00
Your Name
a9af97925e fixed 2026-08-06 23:54:49 -04:00
0x81c
d690863b6f 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
0x81c
b071e117fa so we fixed up some bugs and restructured the level editor. master fiel. 2026-08-06 23:15:48 -04:00
0x81c
01d272981e id_ 2026-08-06 23:15:48 -04:00