Commit graph

26 commits

Author SHA1 Message Date
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
Your Name
a60f46d585 player blocker 2026-08-11 20:29:35 -04:00
Your Name
c3a2692351 Add spiky box variants 2026-08-11 20:08:58 -04:00
Your Name
f549eaf523 Add directional sticky and skewer box variants 2026-08-11 15:07:11 -04:00
Your Name
5413823b26 add dialog 2026-08-08 00:09:50 -04:00
Your Name
2e0013ec17 fix switch scaling i guess? 2026-08-07 18:01:36 -04:00
Your Name
12c37b5fa9 better shake 2026-08-07 10:27:56 -04:00
Your Name
886679816b fix renderer 2026-08-07 00:40:45 -04:00
0x81c
01d272981e id_ 2026-08-06 23:15:48 -04:00
0x81c
973a8ab25b basic serialization worx*
*
2015-03-17 01:59:14 -04:00
0x81c
d76ace8f69 level serializes now 2015-03-16 10:17:06 -04:00
0x81c
cd2e0d862a fixed overlap chec 2015-03-16 08:47:08 -04:00
0x81c
1c1ec291a7 bump chec~~ 2015-03-16 07:39:54 -04:00
0x81c
214758388e automatically gets bouif pull = true then 2015-03-15 18:45:24 -04:00
0x81c
747a7b7b58 wowgit add -A! 2015-03-15 16:25:00 -04:00
0x81c
687939b269 mostly art stuffgit add -A 2015-03-15 13:54:47 -04:00
0x81c
85dd66b1e4 doors worxlove . 2015-03-15 07:08:35 -04:00
0x81c
b553d3f664 some changes, idr, hehe sorry 2015-03-15 05:26:47 -04:00
0x81c
c668dc513b WOWOWOWOWOWOWO WI DID IT WOWOWWWWWW WOW 2015-03-15 04:52:18 -04:00
0x81c
3ae6c416e5 toreit out git add -A 2015-03-14 06:08:50 -04:00
0x81c
2f40eaf000 wowowowowowowo so much stuff 2015-03-14 05:36:02 -04:00
0x81c
662de9407a basic stuff w movemet n collision done 2015-03-12 05:13:04 -04:00
0x81c
bffa27ec01 basic stuff w movemet n collision done 2015-03-12 04:05:39 -04:00
0x81c
2772ec2563 boxes n walls n movement etcgit status 2015-03-12 03:04:09 -04:00
0x81c
9763040c99 id_ 2015-03-11 21:41:02 -04:00
0x81c
b4905845e6 basix 2015-03-11 20:11:29 -04:00