No description
Find a file
Your Name 7d84f595e4 Replace box variants with a moveable adhesion property
Collapse the spiky/sticky/skewer box-variant assets into a single per-
instance `adhesion` property on any moveable block, chosen in the editor
via a dropdown next to the colour picker and stored in the .sav alongside
the class.

- spiky -> sticky: soft grab on every true edge (goopy shader)
- skewer -> gluey: rigid weld on every true edge (spiked outline)
- old trailing-face sticky is removed; its saves fold into new sticky

Move the spike geometry + drawGlueySprite into shaders.lua, fold drawing
and the adhesion flag into GenericMoveable, and delete the three
Generic{Sticky,Spiky,Skewer} classes and box_variants.lua. Room:createEntity
normalises legacy spiky_/skewer_/sticky_ class prefixes so old saves load,
and serialization emits `adhesion`. World/map previews and the movement
proxy follow the rename.

Backfill rooms/*.sav to the new format via tools/backfill_adhesion.lua
(41 objects across 8 files). Update tests to the two-mode model; the two
tests asserting the removed lateral-shear limitation are dropped and a
legacy-load migration test added. 27/27 pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-21 16:34:01 -04:00
art note blocks and sticky test 2026-08-13 12:45:41 -04:00
docs Replace box variants with a moveable adhesion property 2026-08-21 16:34:01 -04:00
font id_ 2026-08-06 23:15:48 -04:00
level_editor Replace box variants with a moveable adhesion property 2026-08-21 16:34:01 -04:00
libs Vendor libs/hump, sfxrlua, json4lua, narrator as real files 2026-08-11 11:37:09 -04:00
rooms Replace box variants with a moveable adhesion property 2026-08-21 16:34:01 -04:00
sounds id_ 2026-08-06 23:15:48 -04:00
stories Add named Marks and cross-room NPC pathfinding 2026-08-21 15:56:53 -04:00
tests Replace box variants with a moveable adhesion property 2026-08-21 16:34:01 -04:00
tools Replace box variants with a moveable adhesion property 2026-08-21 16:34:01 -04:00
.gitignore Add multi-cell box shapes with per-cell collision 2026-08-11 12:42:33 -04:00
_debug_helpers.lua automatically gets bouif pull = true then 2015-03-15 18:45:24 -04:00
_helpers.lua map idea 2026-08-21 10:57:32 -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 named Marks and cross-room NPC pathfinding 2026-08-21 15:56:53 -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 named Marks and cross-room NPC pathfinding 2026-08-21 15:56:53 -04:00
dialogue_manager.lua Add named Marks and cross-room NPC pathfinding 2026-08-21 15:56:53 -04:00
door.lua sound and other misc fixes 2026-08-12 12:27:52 -04:00
entity.lua Replace box variants with a moveable adhesion property 2026-08-21 16:34:01 -04:00
game_ui.lua map idea 2026-08-21 10:57:32 -04:00
generic_moveable.lua Replace box variants with a moveable adhesion property 2026-08-21 16:34:01 -04:00
generic_player_blocker.lua player blocker 2026-08-11 20:29:35 -04:00
generic_unmoveable.lua Add multi-cell box shapes with per-cell collision 2026-08-11 12:42:33 -04:00
input.lua move repeatedly in direction 2026-08-07 02:01:39 -04:00
main.lua Add named Marks and cross-room NPC pathfinding 2026-08-21 15:56:53 -04:00
map_manager.lua Replace box variants with a moveable adhesion property 2026-08-21 16:34:01 -04:00
mark.lua Add named Marks and cross-room NPC pathfinding 2026-08-21 15:56:53 -04:00
movement.lua Replace box variants with a moveable adhesion property 2026-08-21 16:34:01 -04:00
note.lua note blocks and sticky test 2026-08-13 12:45:41 -04:00
npc.lua Add named Marks and cross-room NPC pathfinding 2026-08-21 15:56:53 -04:00
pathfinding.lua Add named Marks and cross-room NPC pathfinding 2026-08-21 15:56:53 -04:00
player.lua fix state thigns and port to love11 2026-08-07 20:56:55 -04:00
profiler.lua profiler 2026-08-12 00:12:34 -04:00
puzzles.org puzzle ideas org 2026-08-12 17:20:14 -04:00
room.lua Replace box variants with a moveable adhesion property 2026-08-21 16:34:01 -04:00
shaders.lua Replace box variants with a moveable adhesion property 2026-08-21 16:34:01 -04:00
sound.lua sound and other misc fixes 2026-08-12 12:27:52 -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
wire.lua wired switches and doors 2026-08-11 22:55:58 -04:00
wired_door.lua Remove wired device overlay markers 2026-08-12 14:52:06 -04:00
wired_switch.lua Remove wired device overlay markers 2026-08-12 14:52:06 -04:00
world.lua Replace box variants with a moveable adhesion property 2026-08-21 16:34:01 -04:00
world_seed.lua idk even anymore 2026-08-07 01:39:47 -04:00