Skip to content

Godot Steering AI Framework 1.0

Compare
Choose a tag to compare
@NathanLovato NathanLovato released this 07 Feb 20:16
· 59 commits to master since this release
v1.0.0

banner-fs8

The Godot Steering Toolkit is a framework to code complex and smooth AI movement in GDScript, using steering behaviors. It works in both 2D and 3D games.

It supports all the basic movements like flee, follow, look at, but also blended behaviors, group behaviors, avoiding neighbors, following a path, or following the leader.

It's inspired from LibGDX's excellent GDX-AI framework.

Features

This is the first release of the framework. It already with many features:

  • All the essential steering behaviors: Arrive, AvoidCollisions, Blend, Cohesion, Evade, Face, Flee, FollowPath, LookWhereYouGo, MatchOrientation, Priority, Pursue, Seek, Separation.
  • Group behaviors and detecting neighbors.
  • Blending and prioritized behaviors.
  • Specialized types to code agents based on physics bodies:
    • For 2D games, KinematicBody2DAgent and RigidBody2DAgent.
    • For 3D games, KinematicBody3DAgent and RigidBody3DAgent.
  • 9 Godot demos to learn straight from the code.

Getting Started

To get started, check out the framework's manual.

There, you can also find the full code reference.

Note: we generate the code reference from docstrings in the source code with GDScript Docs Maker.

There are many demos for you to play with and learn from in the project. We're also working on a more complete game, Harvester.

Contributing

If you encounter a bug or you have an idea to improve the tool, please open an issue.

Also, check out our contributor's guidelines

Support us

Our work on Free Software is sponsored by our Godot game creation courses. Consider getting one to support us!

If you like our work, please star the repository! This helps more people find it.

Join the community

  • You can join the GDQuest community and come chat with us on Discord
  • For quick news, follow us on Twitter
  • We release video tutorials and major updates on YouTube