No description
Find a file
megaproxy 96f4982dd3 Phase 5 cabin polish — door, floor, interior crate, double-render fix
Make the demo cabin readable as a real building so the rendering pattern
is solid before Phase 6+ adds more building types.

Demo seed (world.gd._seed_phase5_demo_buildings):
- 8×6 stone cabin at (44, 23) — 23 walls (perimeter minus door slot) +
  1 door (south wall centre at (47, 28)) + 24 wood-floor designations
  for the interior. ConstructionProvider picks them all up; pawns build
  the whole thing.
- One pre-built crate inside at (50, 24) so the interior reads as a
  furnished room on first frame.
- Two external stockpile-target crates unchanged at (17, 60) / (18, 60).

Door visual rewrite (door.gd):
- Was the old 16×24 bottom-anchored shape that encroached on the cell
  above. Now fits strictly within its 16×16 tile, matching the wall's
  3/4 band layout (5 px lit lintel + 11 px shaded frame + inset panel
  + hinge dot). Door and walls now share a top horizon line so they
  line up visually.

Designation gained TOOL_BUILD_DOOR + atlas mapping; world.gd's
_on_designation_added now branches on build_door to spawn a Door entity.

THE DOUBLE-RENDER BUG (caught by MCP inspection):
- World.mark_floor_tile stamps the Floor TileMap with atlas (2, 0) which
  is *stone-grey* in the placeholder atlas, regardless of material name.
- The Floor TileMap layer was visible=true with z_index=1, so it drew
  ON TOP of the brown Floor entity sprites underneath.
- Result before fix: interior tiles looked gray-stone, not wood.
- Fix: set Floor TileMap layer visible=false (data-only, same as Wall).
  Entities own the visual; the TileMap retains tile-level data for
  Phase 13's room detection + Phase 16's save format.

Pattern locked for future building types: 'render at entity level,
TileMap layers are data-only'. Phase 13's roof and any future wall
materials follow the same template.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-10 22:46:27 +01:00
.claude Wire Godot MCP Pro and tiered subagents (mirrors tavernkeep) 2026-05-10 19:26:54 +01:00
art Phase 1 — 80² world, 6-layer TileMap, camera rig, tick loop, speed UI 2026-05-10 20:37:02 +01:00
audio Phase 0 scaffold + asset audit findings 2026-05-10 20:09:11 +01:00
autoload Phase 5 — Designation, BuildJob, Wall/Floor/Door, Crate; 3/4 perspective pivot 2026-05-10 22:11:40 +01:00
data Phase 0 scaffold + asset audit findings 2026-05-10 20:09:11 +01:00
docs Phase 5 — Designation, BuildJob, Wall/Floor/Door, Crate; 3/4 perspective pivot 2026-05-10 22:11:40 +01:00
scenes Phase 5 cabin polish — door, floor, interior crate, double-render fix 2026-05-10 22:46:27 +01:00
tests Phase 0 scaffold + asset audit findings 2026-05-10 20:09:11 +01:00
tools Phase 0 scaffold + asset audit findings 2026-05-10 20:09:11 +01:00
.gitignore Wire Godot MCP Pro and tiered subagents (mirrors tavernkeep) 2026-05-10 19:26:54 +01:00
.mcp.json Wire Godot MCP Pro and tiered subagents (mirrors tavernkeep) 2026-05-10 19:26:54 +01:00
CLAUDE.md Wire Godot MCP Pro and tiered subagents (mirrors tavernkeep) 2026-05-10 19:26:54 +01:00
icon.svg Phase 0 scaffold + asset audit findings 2026-05-10 20:09:11 +01:00
icon.svg.import Make main scene root Node2D so editor defaults to 2D view 2026-05-10 20:19:09 +01:00
memory.md Phase 5 — Designation, BuildJob, Wall/Floor/Door, Crate; 3/4 perspective pivot 2026-05-10 22:11:40 +01:00
project.godot Make main scene root Node2D so editor defaults to 2D view 2026-05-10 20:19:09 +01:00
README.md Phase 0 scaffold + asset audit findings 2026-05-10 20:09:11 +01:00

rimlike

A 2D, tile-based cute-farming-RPG-meets-colony-sim for mobile and handheld. Rimworld DNA, Going Medieval × Stardew lodestars. Built on Godot 4.

Working title rimlike — rename TBD.

Working in this repo

On a fresh clone

The proprietary Godot MCP Pro addon is gitignored. Re-copy from the local install before opening the project:

cp -r /mnt/d/godot/mcp/addons/godot_mcp ./addons/

Then open project.godot in Godot 4.6+. Project → Project Settings → Plugins → enable Godot MCP Pro. Look for the green dot in the "MCP Pro" bottom panel.

Engine

Godot 4.6.2 stable, GDScript only, GL Compatibility renderer (max mobile reach), 16×16 pixel art (texture filter = nearest, pixel snap on).