1
0
Fork 0
mirror of https://github.com/imjasonh/terminus synced 2026-07-06 22:12:35 +00:00
terminus/server
Jason Hall b1694154b7 Add NPC system with wandering AI and sprite rendering
- 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>
2025-09-24 09:26:55 -04:00
..
server.go Add NPC system with wandering AI and sprite rendering 2025-09-24 09:26:55 -04:00