bitbrain / beehave

🐝 behavior tree AI for Godot Engine

Home Page:https://bitbra.in/beehave

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

beehave-ci


Beehave is a powerful addon for Godot Engine that enables you to create robust AI systems using behavior trees. With Beehave, you can easily design complex NPC behaviors, build challenging boss battles, and create other advanced setups with ease.

Using behavior trees, Beehave makes it simple to create highly adaptive AI that responds to changes in the game world and overcomes unexpected obstacles. Whether you are a beginner or an experienced developer, Beehave is the perfect tool to take your game AI to the next level.

✨ Development of Beehave 3.0 has started. Read #285 for more details.

🐝 Features

πŸ€– Node based - build behavior trees within your scene tree

Compose behavior trees in your scene and attach them to any node of your chosing.

πŸ› Debug view - a dedicated debug view to analyze your behavior at runtime

A dedicated debug view inside the Godot editor allows you to better understand what the behavior is doing under the hood.

πŸš— Performance - built-in monitors to track performance of your behavior trees

Maintaining high framerate is important in games. Investigate performance issues by using the custom monitor available inside the Godot editor.

πŸ§ͺ Tested - any functionality of this addon is covered by test automation

In order to avoid bugs creeping into the codebase, every feature is covered by unit tests.

πŸ“¦ Installation

  1. Download Latest Release
  2. Unpack the addons/beehave folder into your /addons folder within the Godot project
  3. Enable this addon within the Godot settings: Project > Project Settings > Plugins
  4. Move script_templates into your project folder.

To better understand what branch to choose from for which Godot version, please refer to this table:

Godot Version Beehave Branch Beehave Version
3.x 3.x 1.x
4.x 4.x 2.x

Refer to this guide for more details behind this structure.

πŸ“š Getting started

Behavior trees are a modular way to build AI logic for your game. For simple AI, behavior trees are definitely overkill, however, for more complex AI interactions, behavior trees can help you to better manage changes and re-use logic across all NPCs.

example

Learn how to beehave on the official wiki!

Tutorial (Godot 3.5+)

bitbrain recorded this tutorial to show in more depth how to use this addon:

tutorial-thumbnail

Liam Flannery wrote up a getting started tutorial that's up to date with Godot 4.2

πŸ₯° Credits

About

🐝 behavior tree AI for Godot Engine

https://bitbra.in/beehave

License:MIT License


Languages

Language:GDScript 97.9%Language:HTML 1.0%Language:CSS 0.7%Language:Batchfile 0.2%Language:Shell 0.1%Language:C# 0.1%