Skip to content

feat(game): glossy 3D blocks, near-flush spacing - #20

Merged
uhmin99 merged 1 commit into
devfrom
feat/pretty-blocks
Jul 16, 2026
Merged

uhmin99 merged 1 commit into
devfrom
feat/pretty-blocks

Conversation

@uhmin99

@uhmin99 uhmin99 commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Redesigns the shared block renderer to match the reference skin.

  • Cells sit nearly flush — a 1.5% inset leaves only the tidy dark
    corner notches from the reference instead of a visible grid of gaps.
  • Puffy 3D look: diagonal light→dark body, a raised inner face, and a
    soft top-left gloss.
  • Applies everywhere (board, tray pieces, ghost preview, gem/neutral
    tiles) since they all share paintBlock.

Kept GPU-cheap — two gradient round-rects + a gloss rect per cell, no
per-cell path meshes — given this game's documented thermal-throttling
history (the board repaints every frame).

Analyze clean, 94 tests pass.

🤖 Generated with Claude Code

Redesign paintBlock to match the reference skin: cells sit nearly flush
(a sliver of inset leaves only the tidy dark corner notches instead of a
grid of gaps), with a diagonal light→dark body, a raised inner face, and
a top-left gloss for the puffy candy look.

Kept GPU-cheap — two gradient round-rects plus a gloss rect, no per-cell
path meshes — since the whole board repaints every frame (this game has a
documented thermal-throttling history). Shared by the board, tray pieces,
and ghost preview.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@uhmin99
uhmin99 merged commit ea9e086 into dev Jul 16, 2026
5 checks passed
@uhmin99
uhmin99 deleted the feat/pretty-blocks branch July 16, 2026 00:25
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