Commit Graph

27 Commits

Author SHA1 Message Date
root 4374914b29 fix: filter player entities from follow mode, remove redundant updateNeeds, show NPC name in mode text
- getNpcIds() now excludes player-controlled entities
- Remove double updateNeeds call in handleStateUpdate (updateInfo already calls it)
- Mode text shows NPC name instead of just ID

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 04:43:40 +00:00
root 03849c9505 style: EarthBound-inspired NPC info panel with doubled borders and pixel aesthetic
Authentic SNES RPG window styling: doubled rounded borders with gap,
deep indigo palette, portrait frame, diamond separators, gradient
need bars with numeric readout, diagonal shine overlay.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 04:40:11 +00:00
root d8d3e75157 feat: add Press Start 2P pixel font for NPC info panel
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 04:38:49 +00:00
root dfed8401e4 feat: integrate NPC portrait panel with follow mode in GameScene
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 04:37:42 +00:00
root ffdfd1474e feat: add NpcInfoPanel HTML/CSS overlay with EarthBound-style UI
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 04:35:46 +00:00
root 1bbbba477b feat: add PortraitCompositor for layered NPC portrait images
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 04:35:20 +00:00
root 0cf48ded61 feat: add NPC name generator and broadcast names in entity state
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 04:33:42 +00:00
root d46677389f feat: generate portrait features (brows, eyes, mouths) for NPCs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 04:31:22 +00:00
root 7a61b82c51 feat: add portrait slot types and sprite-to-portrait folder mapping
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 04:28:04 +00:00
root 5de6b27ee9 chore: add .worktrees/ to .gitignore
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 04:26:02 +00:00
root 0e273f06a4 docs: add NPC portrait panel implementation plan
10-task TDD plan covering shared types, appearance generator,
name generator, portrait compositor, HTML/CSS panel, GameScene
integration, and EarthBound-inspired styling.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 04:24:44 +00:00
root 43869914f4 docs: add NPC portrait panel design
Design for follow-mode NPC info panel with composited portraits,
EarthBound-inspired UI, live-updating needs bars, and name generator.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 04:21:23 +00:00
root 78ab147d10 fix: remove duplicate step 6 in README deployment instructions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 03:59:26 +00:00
andy b94ad32806 feat: viewport modes, configurable server URL, deployment docs
- Add follow mode (F key) to cycle camera between NPCs
- Make server URL configurable via VITE_SERVER_URL env var
- Add comprehensive README with Debian LXC deployment guide
- Add character sprite assets to repo
- Add design docs and implementation plans

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 22:25:53 -05:00
andy d543f8d3f1 docs: add README and CLAUDE.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 20:21:30 -05:00
andy fc29bc204c fix: give player entities an appearance component for avatar mode rendering
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 20:21:05 -05:00
andy 6ffa52ffba feat: implement game scene with entity rendering, camera, and input
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 20:01:59 -05:00
andy 2305b48df2 feat: add character compositor that layers skin + accessories into cached textures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 19:13:07 -05:00
andy 8fee2faf1e feat: add Socket.io server with state broadcasting and player input handling
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 19:13:07 -05:00
andy ca05d36bc0 feat: add game loop with NPC spawning and system execution
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:53:19 -05:00
andy 8b2e895da2 feat: add client entry point, boot scene, and socket client
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:53:09 -05:00
andy a8e18b9535 feat: add random appearance generator for NPC spawning
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:38:30 -05:00
andy 83660609fc feat: implement NPC systems (needs decay, brain, movement)
Add three ECS systems for NPC simulation:
- needsDecaySystem: decrements hunger/energy each tick, clamped at 0
- npcBrainSystem: goal selection based on need thresholds with pathfinding
- movementSystem: advances entities along computed paths

Includes 8 passing tests covering decay, goal prioritization, and movement.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:19:07 -05:00
andy 30ea2f42c2 feat: add GameMap and A* pathfinding with tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:13:31 -05:00
andy 733d1eb795 feat: implement lightweight ECS core with tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:12:48 -05:00
andy 1fdae9e45c feat: add shared types and constants for ECS, networking, and assets
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:10:52 -05:00
andy 39c19568c1 feat: scaffold monorepo with shared, server, and client packages
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:09:07 -05:00