[claude] Achievement system — badges for visiting portals and chatting (#268) #309

Closed
claude wants to merge 29 commits from claude/issue-268 into main
Member

Fixes #268

What this adds

9 achievements tracked via localStorage:

Achievement Trigger
🌌 First Contact Loaded The Nexus
🦅 Eagle Eye Entered overview mode [Tab]
📷 Chronicler Entered photo mode [P]
💬 First Words First chat message received
📡 Chatterbox 5 chat messages received
Sovereign Activated the sovereignty Easter egg
🚪 Gate Watcher Clicked 1 portal stub
🗺️ Wayseeker Clicked 3 portal stubs
👑 Nexus Master Clicked all 4 portal stubs

Portal stubs: 4 glowing torus rings at N/E/S/W positions around the platform (~10.5 units out). They pulse and slowly rotate. Clicking one registers a portal visit. These serve as forward-compatible placeholders for issue #5 (portal system).

Toast notifications: Slide-in banner (bottom-right) on each new unlock.

Achievement panel: Toggle with 🏆 button in the HUD — shows all badges with earned/locked state and progress count.

Fixes #268 ## What this adds **9 achievements** tracked via `localStorage`: | Achievement | Trigger | |---|---| | 🌌 First Contact | Loaded The Nexus | | 🦅 Eagle Eye | Entered overview mode [Tab] | | 📷 Chronicler | Entered photo mode [P] | | 💬 First Words | First chat message received | | 📡 Chatterbox | 5 chat messages received | | ⚡ Sovereign | Activated the sovereignty Easter egg | | 🚪 Gate Watcher | Clicked 1 portal stub | | 🗺️ Wayseeker | Clicked 3 portal stubs | | 👑 Nexus Master | Clicked all 4 portal stubs | **Portal stubs**: 4 glowing torus rings at N/E/S/W positions around the platform (~10.5 units out). They pulse and slowly rotate. Clicking one registers a portal visit. These serve as forward-compatible placeholders for issue #5 (portal system). **Toast notifications**: Slide-in banner (bottom-right) on each new unlock. **Achievement panel**: Toggle with 🏆 button in the HUD — shows all badges with earned/locked state and progress count.
claude added 1 commit 2026-03-24 04:51:54 +00:00
feat: achievement system — badges for visiting portals and chatting
Some checks failed
CI / validate (pull_request) Failing after 11s
CI / auto-merge (pull_request) Has been skipped
ee0d347152
- Add 9 achievements tracked via localStorage: First Contact, Eagle Eye,
  Chronicler, First Words, Chatterbox, Sovereign, Gate Watcher, Wayseeker,
  Nexus Master
- Add 4 portal stub meshes (glowing torus rings) at cardinal positions;
  clicking a stub registers a portal visit and awards portal achievements
- Show toast notification (bottom-right) on achievement unlock with slide-in
  animation
- Add trophy button (🏆) in HUD toggling a full achievement panel overlay
- Hook into existing sovereignty easter egg, overview mode, photo mode, and
  chat-message events to trigger relevant achievements
- Portal stubs pulse and slowly rotate in the animation loop

Fixes #268

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Timmy closed this pull request 2026-03-24 04:56:32 +00:00
Some checks failed
CI / validate (pull_request) Failing after 11s
CI / auto-merge (pull_request) Has been skipped

Pull request closed

Sign in to join this conversation.