Skip to content

feat(zelda-like): tree house in original fsa layout#211

Merged
JumpLink merged 1 commit into
mainfrom
feat/treehouse-original-layout
Jun 12, 2026
Merged

feat(zelda-like): tree house in original fsa layout#211
JumpLink merged 1 commit into
mainfrom
feat/treehouse-original-layout

Conversation

@JumpLink

Copy link
Copy Markdown
Contributor

Rebuilds Link's tree house at the ORIGINAL room layout. Root cause of the persistently 'wrong' tiles: our map was a 1:1 slice of the finalized tileset's pre-composed octagon — which is the tileset's own arrangement, NOT the game's room. The authoritative reference is the FSA project's own screenshot of links_house (kokiri_inside_sample_01.png, exactly 21×15 tiles — matching the links_house.bin grid header), now preserved as references/fsa_links_house_reference.png in the zelda-games repo along with a new tools/match-room-tiles.py (screenshot→tileset grid matcher; for these samples it documents that the screenshots use an earlier art pass than finalized/, so layout — not pixels — is the transferable truth).

The new room: 21×15, generated by the committed games/zelda-like/tools/build-tree-house.py — an ASCII plan read off the reference + a legend onto the finalized sheet (now shipped FULL 256×256 as the tree-house tileset, 256 sprites with per-cell solid flags). Bed top-centre, big table left, the round emblem rug centre, bottle dresser, barrels/pots, wall vines, door corridor bottom-centre at x=10 (mat tiles walkable, gap-checked via the agent walkability fold: spawn (10,10), arrival (10,12), mat (10,13) all walkable). Kokiri door teleports retarget to (10,12); the return teleport exits to the mat at (76,68).

Not pixel-perfect vs. the reference (diagonal corners are simplified, minor prop placement deltas) — but the layout is faithful and now trivially fine-tunable in the editor; get_map_data + the framebuffer canvas screenshot (#210) are the verification loop for that.

@JumpLink JumpLink merged commit b2d5ca2 into main Jun 12, 2026
1 check passed
@JumpLink JumpLink deleted the feat/treehouse-original-layout branch June 12, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant