Skip to content

DissonantVoid/DVs-Behavior-Tree

Repository files navigation

Dissonant Void's Behavior Tree

A modular behavior tree implementation addon for Godot 4, with a user-friendly, extendable system allowing for adaptive AI that reacts to its environment and performs many actions without the code turning spagetti with each iteration.
With this addon you can make complex NPCs to populate your world, or bosses that can go through multiple phases with the combination of simple actions and flow control.

Note

This addon started as a small project for personal use to implement features I couldn't find in other BT addons (mainly interruption related) but had grew enough to be worth sharing with the community.

Icon

Easy to setup and use

Setup tree structure easily using nodes.

Modular system

Bahavior trees are highly scalable by design, allowing for iterable design where nodes are added, removed and even reused to reach a complex AI one step at a time.

Customization and fine-tuning

Built-in nodes offer customization whenever possible, and if you need evern more control extend any class and make your own!

Debugger

A powerful and optimized debugger that allows for viewing active behavior trees, their decision making and variables in real-time. It also offsers debugging tools.

Examples

Showcase

Note

If you've made a game or a tutorial that uses this addon, feel free to reach out and I could mention it here.

Examples

Official begginers guide.
Small example scenes that cover a range of use cases are included with the addon in examples/, please read examples/readme_first.txt.

Documentations

If you are new to behavior trees or wish to refresh your knowledge of how they work start here.
Documentation of this addon and its features can be found here.

Help

Roadmap

Milestones.
Code related smaller tasks can be found in code by searching for "TODO"s.

Contribution

Please see contribution.

Credits

Socials

Xhitter.

Instagram.

Itch io.

Discord Profile.