Editor Guide
Opening the Editor
Section titled “Opening the Editor”The behavior tree editor provides a visual interface for creating and managing behavior trees.
Creating a New Tree
Section titled “Creating a New Tree”- Open the behavior tree editor
- Click “New Behavior Tree”
- Enter a name for your tree
- Start adding nodes
Node Operations
Section titled “Node Operations”Adding Nodes
Section titled “Adding Nodes”- Drag nodes from the palette to the canvas
- Right-click on canvas to open context menu
- Use keyboard shortcuts for quick access
Connecting Nodes
Section titled “Connecting Nodes”- Click and drag from a node’s output port
- Drop on another node’s input port
- Connections show execution flow
Configuring Nodes
Section titled “Configuring Nodes”- Select a node to view its properties
- Configure parameters in the property panel
- Use bindings to connect to blackboard variables
Blackboard Panel
Section titled “Blackboard Panel”The blackboard panel allows you to:
- Define variables used by the tree
- Set initial values
- Specify variable types
Variables: - health: number = 100 - target: Entity = null - isAlert: boolean = falseSaving and Loading
Section titled “Saving and Loading”- Save: Ctrl+S or File → Save
- Export: Export as JSON for runtime use
- Import: Load existing tree files
Debugging
Section titled “Debugging”- Use the play button to test execution
- Watch node status in real-time
- View blackboard values during execution
Keyboard Shortcuts
Section titled “Keyboard Shortcuts”| Shortcut | Action |
|---|---|
| Ctrl+S | Save |
| Ctrl+Z | Undo |
| Ctrl+Y | Redo |
| Delete | Remove selected |
| Ctrl+C | Copy |
| Ctrl+V | Paste |