mirror of
https://github.com/imjasonh/terminus
synced 2026-07-06 22:12:35 +00:00
- Add NPC data structure with random walk movement and collision detection - Implement NPC manager in GameServer with thread-safe access and spawning - Add blue half-filled circle sprites for NPCs with proper depth testing - Update renderer to support NPC sprite type with medium size and visibility - Integrate NPCs into multiplayer system - all players see shared NPCs - Spawn 3 NPCs in small maps, 5 NPCs in large maps based on map dimensions - Update module path to github.com/imjasonh/terminus - NPCs move at 1.5 units/sec with direction changes every 2-4 seconds - Add proper Z-buffer testing and sprite sorting for NPCs Signed-off-by: Jason Hall <jason@chainguard.dev> |
||
|---|---|---|
| .. | ||
| server.go | ||