feat(rpg-demo): combat depth, pixel-art migration, UI polish - #2
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Major changes: - **Status effects** (poison, burn, stun, shield) wired through the battle loop with on-hit chances, DoT ticking, stun-skip, and shield absorbs. Goblins poison on hit, skeletons stun, Fireball ignites, Aegis Pendant grants a Shield at battle start. - **Equipment** — 3 slots (weapon / armor / trinket), 10 pieces, derived stats layered over the hero's base. Merchant gets a Gear tab; Inventory gets a real Equipment tab with equip / unequip + Stash. - **Boss phases** — Pixel Dragon now telegraphs Fire Breath and enrages at 50% HP (+ATK / +SPD / higher crit rate, more frequent telegraphs). - **Pixel-art migration** (7 stages): every emoji glyph replaced with hand-authored PNG sprites rendered through a new <Sprite> component. 31 sprites covering enemies, heroes, NPCs, tokens, items, equipment, and statuses. Generator script + SPRITES.md design doc included. UI fixes (also in @pixelore/react): - Tabs: fix sub-pixel divider artifact on the active tab — dividers now come from a 2px gap + parent black background instead of per-trigger border-r-2, so they always pixel-snap. - Dialog: cap height to viewport with internal scroll; close button stays pinned. Fixes content overflowing off the top/bottom of mobile viewports. Other: - DamageNumbers no longer clipped by Card overflow — moved to a sibling layer that shares the Card's footprint without inheriting its clipping. - Desktop scroll: removed the lg-only body overflow lock that was hiding sidebar content on shorter viewports. - Save schema bumped to v2 (old saves ignored). - Updated rpg-demo README + root README; added a hero screenshot.
dudusotero
force-pushed
the
feat/rpg-pixel-art
branch
from
May 13, 2026 16:56
44a19b0 to
34f4c72
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three large-and-related strands of work for the RPG demo plus two design-system fixes that shipped along the way.
Combat depth (rpg-demo)
Pixel-art migration (7 stages, complete)
Every emoji glyph is replaced with hand-authored PNG sprites rendered through a new
<Sprite>component. 31 sprites across enemies, heroes, NPCs, map tokens, items, equipment, statuses. Generator script (scripts/generate-sprites.py) and design doc (SPRITES.md) included so future sprites are one ASCII grid away.@pixelore/react fixes (patch — changeset included)
border-r-2, so they always pixel-snap.Other rpg-demo fixes
Test plan