ThePat02/BehaviourToolkit
关于
用于 Godot 4 游戏引擎中 AI 行为的一组工具!
游戏与模拟器可以做什么
- Finite State Machine
- Behaviour Tree with generic utility
- Nest Behaviour Trees inside State Machines and vice versa!
- Blackboard Resource
实测星标增长
- 24小时
- -1
- 7天
- +1
- 15天
- +5
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文BehaviourToolkit for Godot 4
This plugin provides a set of tools to create custom and complex behaviour in the Godot 4.x Game Engine.
Features
Behaviour Architectures
Finite State Machine
Behaviour Tree with generic utility
Nest Behaviour Trees inside State Machines and vice versa!
Blackboard Resource
- Editor Interface with shortcuts
- Templates for easy extension and integration
- Example Scene
When a new version is available on GitHub, the plugin will display a notification in the Toolbox!
Installation
- Clone the
mainbranch of this repository to your machine - Download the latest release from the Godot Asset Lib
- Add the
submodulebranch as Git Submodule to your own repo- The
submodulebranch is always up to date withmainand will allow you to consistently use the newest version bypulling - If you are not confident in your CL skills, you can use a client like GitKraken to set this up
- The
Usage
Make sure the clones the addons and script_templates directories into your project.
- Add a
FiniteStateMachineorBTRootnode to your scene. - A toolbox will appear in the editor, allowing you to add behaviour nodes to the scene.
- Setup and configure your behaviour nodes in the inspector.
- Right-click your
FSMState/FSMTransition/BTLeafand extend the script.
Now you can implement your own behaviour logic using the virtual methods provided by the script templates.
Documentation
Notes
This is the first time I've ever made a bigger plugin for Godot, so I am happy for any suggestions, feedback and contributions. If you need help or have any questions, feel free to contact me on Discord (thepat02) or open an issue on GitHub!
You can also buy me a coffee if you like the plugin and feel like supporting me :D
Have fun creating awesome behaviours!
Star History
探索相关项目
加载中…