#16 · Primary category: Game AI & Behavior Trees

gdx-ai

artificial-intelligence behavior-trees decision-making formation-motion framework gamedev java libgdx movement npc pathfinding state-machines steering-behaviors

Artificial Intelligence framework for games based on libGDX or not. Features: Steering Behaviors, Formation Motion, Pathfinding, Behavior Trees and Finite State Machines

Project last updated:10/01/24

GitHub Stars

1.3K

Forks

252

Contributors

26

License

Apache-2.0

Why we included this project

Java developers who want NPCs with believable movement and decision-making have a solid option here. The framework covers the techniques games actually reach for: steering behaviors and formation motion for movement, A* pathfinding with hierarchical layers, path smoothing, and interruptible execution, plus finite state machines and behavior trees for the decision side. It ships as a libGDX extension, but you can wire it into other engines as long as you keep the libGDX collections it depends on, which are tuned for mobile by limiting garbage and avoiding boxing. The test suite is worth reading too; it shows how each technique is meant to be configured.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category