Show HN: 10k moving agents in Godot using GDScript
Category: library
Tags: godot, pathfinding, game-development, optimization, crowd-simulation
Score: 6.3/10 (Innovation: 6, Technical: 7, Documentation: 8, Utility: 6)
This project implements a shared direction field approach to scale Godot game engine pathfinding to 10,000 agents using pure GDScript, dramatically reducing frame spikes by replacing per-agent A* queries with a single shared field. It demonstrates a practical optimization pattern for crowd simulation in games, with detailed benchmarks showing 330x median frame time improvement over naive pathfinding.
Target audience: game developers
Repository: https://vav-labs.com/blog/moving-10000-agents-in-godot/
View on Hacker News