feat(apiary): dress the apiary in voxels and pixels #12

Merged
alex merged 2 commits from feat/pixel-apiary into feat/breeding 2026-10-31 08:58:49 +01:00
Owner

Stacked on #11 (breeding); merge that first.

The game now looks like the block-and-pixel bee mods of Minecraft that inspired it, with art of our own.

What changes

  • Hive scene: a floating voxel island in Andalusia, drawn at 216×120 art pixels and scaled up without smoothing. It has grass, dirt and stone blocks, an olive tree, a lavender crop on farmland, and a wooden hive (brood box, honey super, lid). Workers wear their queen's colours and beat their wings. Tapping the hive still harvests, and the yield floats up in a 3×5 pixel font. Every texture is painted at start-up from pixel maps; there are no image files.
  • Pixel skin in the design system: hab-pixel-panel, hab-slot, hab-pixel-bar, hab-pixel-button, hab-pixel-note, hab-pixel-art, plus skin="pixel" on hab-page-layout. Tokens live in tokens.css and classes in pixel.css. Pixelify Sans is self-hosted through @fontsource.
  • Apiary page: stores become inventory slots, traits become ten-segment bars, and reserve queens show green and red deltas. A new bee codex shows each species found so far, and a shadow for the ones not found yet.
  • Docs: CONVENTIONS 6.4 covers the pixel skin. apiary.md records the art direction and the next step, allele genetics with species mutations. There is also a progress-log entry.

Checks

  • nx affected -t lint typecheck test build passes. The initial bundle stays over budget (975 kB against 800 kB); that predates this PR (messageformat).
  • Checked in the browser at desktop and phone width: no console errors, and harvest by tapping the hive works.

🤖 Generated with Claude Code

Stacked on #11 (breeding); merge that first. The game now looks like the block-and-pixel bee mods of Minecraft that inspired it, with art of our own. ## What changes - **Hive scene**: a floating voxel island in Andalusia, drawn at 216×120 art pixels and scaled up without smoothing. It has grass, dirt and stone blocks, an olive tree, a lavender crop on farmland, and a wooden hive (brood box, honey super, lid). Workers wear their queen's colours and beat their wings. Tapping the hive still harvests, and the yield floats up in a 3×5 pixel font. Every texture is painted at start-up from pixel maps; there are no image files. - **Pixel skin** in the design system: `hab-pixel-panel`, `hab-slot`, `hab-pixel-bar`, `hab-pixel-button`, `hab-pixel-note`, `hab-pixel-art`, plus `skin="pixel"` on `hab-page-layout`. Tokens live in `tokens.css` and classes in `pixel.css`. Pixelify Sans is self-hosted through `@fontsource`. - **Apiary page**: stores become inventory slots, traits become ten-segment bars, and reserve queens show green and red deltas. A new bee codex shows each species found so far, and a shadow for the ones not found yet. - **Docs**: CONVENTIONS 6.4 covers the pixel skin. apiary.md records the art direction and the next step, allele genetics with species mutations. There is also a progress-log entry. ## Checks - `nx affected -t lint typecheck test build` passes. The initial bundle stays over budget (975 kB against 800 kB); that predates this PR (messageformat). - Checked in the browser at desktop and phone width: no console errors, and harvest by tapping the hive works. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The hive scene becomes a floating voxel island in Andalusia: grass, dirt and
stone blocks, an olive tree, a lavender crop, and a wooden hive whose workers
beat their wings in their queen's colours. Every texture is painted at start-up
from pixel maps and scaled up without smoothing.

The whole Apiary page wears a new pixel skin from the design system: bevelled
panels, inventory slots, segmented bars, pixel buttons and notes, and the
Pixelify Sans font. A bee codex shows the species found so far. The look takes
after the Minecraft bee mods that inspired the game, with art of our own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The voxel island now fills the page at the largest whole-number scale that
still shows it, under a sky with distant islets. A heads-up display sits over
the scene: the hive and its harvest, the stores, a hotbar of menus, and the
biome. The queen, breeding, reserve and codex open as pixel drawers that slide
in from the left or the right; Escape closes them.

The design system gains hab-game-layout, hab-pixel-drawer and hab-slot-button,
and the pixel panel can go without a heading or with compact padding.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
alex merged commit affd340a45 into feat/breeding 2026-10-31 08:58:49 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Habitea/App!12
No description provided.