Skip to content

feat: Character inspection overlay + 3D item pipeline#328

Merged
mokn merged 1 commit intodevfrom
feat/creature-studio
Apr 8, 2026
Merged

feat: Character inspection overlay + 3D item pipeline#328
mokn merged 1 commit intodevfrom
feat/creature-studio

Conversation

@mokn
Copy link
Copy Markdown
Collaborator

@mokn mokn commented Apr 8, 2026

Summary

  • WoW-style character inspection: Full-screen paper doll overlay triggered by clicking character card on /character. Desktop 3-column layout (armor | rotating character | action slots), mobile stacked with horizontal slot tray.
  • CharacterViewer enhancements: autoReveal 360° trophy spin, multi-equipment bone socket attachment, configurable cellSize
  • EquippedLoadout exports: FilledSlot/EmptySlot now reusable with configurable size
  • Bug fixes: Fixed equipped weapons scope (was always undefined), restored BattleSceneCanvas render sections lost in merge
  • 3D item pipeline: GLB loader, weapon animations, rarity-aware materials, item forge tooling

Test plan

  • /character — CharacterViewer shows with equipped weapon in card
  • Click card → full-screen inspection slides up
  • Character auto-rotates 360° then stops facing camera
  • Equipment slots show rarity borders, filled/empty states correct
  • Click filled slot → ItemEquipModal opens
  • Mobile: horizontal slot tray, full-width viewer
  • Desktop: three-column paper doll layout
  • Stats strip shows correct base + bonus values
  • Combat rating reflects equipment bonuses
  • Battle scene still renders correctly (monster, projectile, player)
  • pnpm vitest run — 11 new tests pass

🤖 Generated with Claude Code

Full-screen paper doll inspection triggered by clicking character card.
Desktop: 3-column layout (armor | character | action slots).
Mobile: stacked with horizontal slot tray.

- CharacterViewer: autoReveal 360° spin, multi-equipment sockets, cellSize prop
- EquippedLoadout: export FilledSlot/EmptySlot with configurable size
- CharacterInspectOverlay: stats strip with combat rating, slot interactions
- Character.tsx: fix equipped scope bug (useCharacter context), add inspect trigger
- BattleSceneCanvas: restore render sections lost in merge (monster, projectile, player)

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@mokn mokn merged commit 8fd1ff8 into dev Apr 8, 2026
1 of 5 checks passed
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
blog Building Building Preview, Comment Apr 8, 2026 3:55pm
ud Building Building Preview, Comment Apr 8, 2026 3:55pm
ud-api Building Building Preview, Comment Apr 8, 2026 3:55pm
ud-api-beta Building Building Preview, Comment Apr 8, 2026 3:55pm

Request Review

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