Behavior3 EditorVS Code behavior tree visual editor for game AI workflows. Related Projects
Editor Preview
The editor provides an intuitive visual interface for designing and managing behavior trees. See the screenshot above for the full editing experience with node canvas, inspector panel, and tree organization. Features
Quick StartOpen a tree file
Create a new project
Configure nodesCreate a
BuildClick Build in the editor title bar. Build Script (
|
| Setting | Type | Default | Description |
|---|---|---|---|
behavior3.settingFile |
string | "" |
Path to .b3-setting relative to workspace root. Empty means auto-discovery. |
behavior3.checkExpr |
boolean | true |
Enable expression syntax validation for expression-type args. |
behavior3.language |
string | "auto" |
Editor UI language. Options:auto (follow VS Code), zh, en. |
behavior3.layout |
string | "normal" |
Node layout style. Options:normal, compact. |
Inspector
Inspector is embedded on the right side of the tree editor.
- Select a node to edit node fields (
args,input,output,desc,debug,disabled) - Click empty canvas to edit tree fields (
name,desc,vars,import,group)
Keyboard Shortcuts
| Key | Action |
|---|---|
Ctrl/Cmd+Z |
Undo |
Ctrl+Y / Cmd+Shift+Z |
Redo |
Ctrl/Cmd+C |
Copy node |
Ctrl/Cmd+V |
Paste node |
Ctrl/Cmd+Shift+V |
Replace node |
Enter / Insert |
Insert node |
Delete / Backspace |
Delete selected node |
Ctrl/Cmd+F |
Search node content |
Ctrl/Cmd+G |
Jump to node by id |
Ctrl/Cmd+B |
Build |
F4 |
Toggle Text / Behavior3 editor |
Development
- Output logs: View → Output → channel Behavior3
- Webview logs are also available in DevTools
Requirements
- VS Code 1.85.0+
License
MIT
