Serhii Snitsaruk
d5bc62830a
Duplicate BBParam instances inside arrays in `BTTask::clone()`
...
Fixes issue with `CallMethod` arguments being shared between tasks after duplication.
2024-10-28 15:06:29 +01:00
Alexander Montag
6776319472
Implement Tree Search Functionality with Highlighting and Filtering
...
This commit introduces a comprehensive Tree Search feature, including:
- Tree highlighting: Highlights items that match the search query.
- Tree filtering: Filters items so only matches and descendants are
shown.
- Counting descendants: Shows the number of matching items within collapsed branches.
- Jump to next match: on enter.
- (Limbo-)Shortcut: Default CTRL-F.
- Menu entry: Misc->Search Tree.
- Remember separate SearchInfo for each tab.
Key implementation details:
- Optimized performance for large trees
- Implemented recursive filtering for efficiency
- Added UI elements including next/previous match buttons
Development History:
- Initial implementation of highlighting and filtering
- Multiple rounds of performance optimization
- Bug fixes and refactoring for correctness
- UI enhancements and polish
- Code cleanup and style improvements
2024-10-06 06:57:11 +02:00
yds
a460c7898b
Add drag preview
2024-09-13 09:04:18 -03:00
yds
8ee3688da2
Implement task multiple selection and drag and drop
2024-09-13 09:04:18 -03:00
Serhii Snitsaruk
9da16a1e0f
Clean up unused string names
2024-08-21 20:04:35 +02:00
Serhii Snitsaruk
472f360cf9
Switch to contextual behavior tree upon undo action
2024-08-21 17:30:30 +02:00
Serhii Snitsaruk
fc26f51ff2
Implement BTInstance - runtime instance of BehaviorTree
2024-08-03 11:07:06 +02:00
Serhii Snitsaruk
bed04dbf87
Hide update_mode for non-root HSMs
2024-07-31 14:50:04 +02:00
Wilson E. Alvarez
8f294ac5ea
Migrate to Tree::set_custom_draw_callback
...
Due to upstream change:
a32a2eaedc
2024-06-29 14:52:05 -04:00
Serhii Snitsaruk
c6b1a40627
BlackboardPlan: Update inspector upon mapping editing finished
2024-05-15 12:52:50 +02:00
Serhii Snitsaruk
e43bc25d82
BlackboardPlan: Provide editor hints for mappings
2024-05-14 13:29:04 +02:00
Serhii Snitsaruk
5dff2e537b
Add `agent` parameter to `BTPlayer` to propagate upon `BehaviorTree` initialization, and add `scene_root` property to `BTTask`
...
`scene_root` is useful to resolve exported NodePath properties in `BTTask` instances (and for BBNode parameters).
2024-05-01 23:20:17 +02:00
Serhii Snitsaruk
3918272227
BehaviorTree: New signal for when BB plan changes
...
Utilize `plan_changed` signal in `BTPlayer` and `BTState`.
2024-04-01 16:34:36 +02:00
Serhii Snitsaruk
12fd9d00d6
Update file headers and fix whitespace
2024-03-21 21:38:57 +01:00
Serhii Snitsaruk
193743e782
Provide the previous state in the state_changed signal
...
- Also provide `get_previous_active_state()` method.
- Rename state_changed -> active_state_changed.
2024-03-05 12:58:55 +01:00
Serhii Snitsaruk
88df78c4a2
Refactor HSM to use StringName for events
2024-03-04 16:19:35 +01:00
Serhii Snitsaruk
0ea8b9932c
Debugger: Implement selective tree update in BehaviorTreeView
...
Flame graph showed performance bottleneck with recreating and redrawing the whole tree each frame.
This commit should improve debugger performance by a good margin.
2024-02-17 11:43:31 +01:00
Serhii Snitsaruk
d38e6f97f1
Editor: Implement Cut-Copy-Paste
...
Resolves #14
2024-02-08 17:16:26 +01:00
Serhii Snitsaruk
656bc169b0
Editor: Scroll to focus when adding a var in Blackboard Plan editor
2024-01-28 22:25:31 +01:00
Serhii Snitsaruk
011040e46f
Editor: Distinguish private variables in the inspector
2024-01-28 21:58:18 +01:00
Serhii Snitsaruk
73f51f23ef
Implement BB variable property editor
2024-01-28 17:49:38 +01:00
Serhii Snitsaruk
f912f0acc4
Usability improvements
2024-01-25 22:58:21 +01:00
Serhii Snitsaruk
15e0323919
Implement BlackboardPlan editor
2024-01-24 23:11:09 +01:00
Serhii Snitsaruk
184361d460
CallMethod: Store result on the blackboard
2024-01-15 21:32:39 +01:00
Serhii Snitsaruk
cbbc0b0135
Link to online docs in the code
2024-01-13 22:40:27 +01:00
Serhii Snitsaruk
f546e285b7
Refactor and clean up the code
2024-01-13 17:10:42 +01:00
Serhii Snitsaruk
a8dc78765b
Restore icons
2024-01-10 01:17:09 +01:00
Serhii Snitsaruk
960f04b0ab
Fix Forward button icon and crash
2024-01-10 00:02:24 +01:00
Serhii Snitsaruk
a9a38bbffb
Port debugger
2024-01-09 21:47:22 +01:00
Serhii Snitsaruk
9645baeb30
Port LimboAI plugin and editor
2024-01-09 13:34:24 +01:00
Serhii Snitsaruk
bb346ef5f2
Port TaskTree
2024-01-07 21:20:51 +01:00
Serhii Snitsaruk
97daa29eda
Port TaskPalette
...
Not even sure if it works, since I need other bits before I test it.
2024-01-07 17:33:05 +01:00
Serhii Snitsaruk
73497b1908
Port ModSwitchButton
2024-01-07 13:45:27 +01:00
Serhii Snitsaruk
f9ad9cc794
Port ActionBanner
2024-01-07 13:36:59 +01:00
Serhii Snitsaruk
3d86a76db9
Port BehaviorTreeView
2024-01-07 06:51:34 +01:00
Serhii Snitsaruk
f5b1b52f67
Port LimboHSM, LimboState and BTState
2024-01-07 05:54:17 +01:00
Serhii Snitsaruk
0767c0eee1
Port BTPlayer and LimboDebugger (game-side part)
2024-01-07 02:40:51 +01:00
Serhii Snitsaruk
4f97c1bd24
Post the rest of the BT tasks (massive changes)
2024-01-07 00:47:46 +01:00
Serhii Snitsaruk
2c4e343a48
Port the first core classes to get started
...
Ported: Blackboard, BTTask, BTAction, BTComment, BTDecorator, BTComposite, BTDecorator, LimboStringNames, LimboTaskDB, LimboUtility
2024-01-06 21:04:34 +01:00
Serhii Snitsaruk
62e07e4395
Add MIT license - LimboAI is now Open Source!
2023-07-22 19:41:01 +02:00
Serhii Snitsaruk
5dc002098f
Reorganize files and sort includes
2023-07-20 18:35:36 +02:00