Wilson E. Alvarez
722b4ee0a0
Merge 8f684f4169
into 00396dce61
2024-05-16 20:00:42 -05:00
Serhii Snitsaruk
e55611a1a9
Bump doc version
2024-05-12 17:34:12 +02:00
Wilson E. Alvarez
5258506e12
Fix GCC warning for unhandled 'PACKED_VECTOR4_ARRAY' in switch
...
Due to upstream change:
f9b488508c
2024-05-07 09:41:30 -04:00
Wilson E. Alvarez
127696e5ac
Migrate to Tree::set_custom_draw_callback
...
Due to upstream change:
a32a2eaedc
2024-05-07 09:41:30 -04: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
302de87e32
Prevent using external resources for derived blackboard plans in `BTPlayer` and `BTState`
2024-04-01 15:25:54 +02:00
Serhii Snitsaruk
ebc2ce310f
Bump doc version to v1.0
2024-03-21 21:42:54 +01:00
Serhii Snitsaruk
12fd9d00d6
Update file headers and fix whitespace
2024-03-21 21:38:57 +01:00
Serhii Snitsaruk
06ea008105
Expose checks and operations in `LimboUtility`
2024-03-20 12:13:32 +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
4c26583007
Remove "p_" from the argument names in the `ClassDB` bindings
2024-03-04 21:36:16 +01:00
Serhii Snitsaruk
88df78c4a2
Refactor HSM to use StringName for events
2024-03-04 16:19:35 +01:00
Serhii Snitsaruk
5b478b6229
Fix scripted task icons in demo with module version
2024-02-18 14:16:23 +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
899335d1fe
Util: Function to decorate output variable
2024-02-10 12:34:29 +01:00
Serhii Snitsaruk
d38e6f97f1
Editor: Implement Cut-Copy-Paste
...
Resolves #14
2024-02-08 17:16:26 +01:00
Serhii Snitsaruk
6713ea1590
Fix: Debugger crashes when detached in GDExtension
...
Resolves #25 .
2024-02-06 16:30:02 +01:00
Serhii Snitsaruk
c5b92aa676
Expose BehaviorTreeView for tools and in-game use
2024-02-03 16:59:51 +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
c81c1ec872
Blackboard: Add variable-to-property binding interface
2024-01-27 21:44:58 +01:00
Serhii Snitsaruk
a6717ec76d
Editor: Show only relevant hints for the chosen variant type in the Blackboard Plan editor
2024-01-26 16:47:45 +01:00
Serhii Snitsaruk
f912f0acc4
Usability improvements
2024-01-25 22:58:21 +01:00
Serhii Snitsaruk
5fee89b00b
Make blackboard improvements compatible with GDExtension
2024-01-25 19:46:27 +01:00
Serhii Snitsaruk
15e0323919
Implement BlackboardPlan editor
2024-01-24 23:11:09 +01:00
Serhii Snitsaruk
8c67886b52
Parsing BlackboardSource properties
2024-01-23 15:31:56 +01:00
Serhii Snitsaruk
a3f8c09766
Use the new virtual workaround and rework LimboState and HSM
2024-01-18 11:33:24 +01:00
Serhii Snitsaruk
390d4a9385
New and improved workaround for the missing ClassDB::add_virtual_method
2024-01-17 22:46:48 +01:00
Serhii Snitsaruk
c5be3a725f
Editor: Links to "Creating custom tasks" doc page in the editor
2024-01-17 15:51:24 +01:00
Serhii Snitsaruk
dc8dcf9d71
Add action banner if native method override warning is set to Error
2024-01-17 14:49:43 +01:00
Serhii Snitsaruk
242c1f03d7
Fix: Introduction points to a wrong page
2024-01-17 14:16:35 +01:00
Serhii Snitsaruk
c63785b5bc
CallMethod: Use array of BBVariant to specify arguments
...
This allows specifying variables on the blackboard as arguments in additions to raw values.
WARNING: Breaks compatibility if you are using CallMethod tasks. CallMethod arguments in existing trees will need to be reassigned!
2024-01-15 21:51:17 +01:00
Serhii Snitsaruk
184361d460
CallMethod: Store result on the blackboard
2024-01-15 21:32:39 +01:00
Serhii Snitsaruk
61790085cc
Fix editor shortcuts not working
2024-01-14 23:50:35 +01:00
Serhii Snitsaruk
80781db7cd
Fix compilation issues related to open_doc_*()
2024-01-14 16:54:08 +01:00
Serhii Snitsaruk
34e763c8f3
Fix compilation error due to missing include
2024-01-14 16:29:16 +01:00
Serhii Snitsaruk
cbbc0b0135
Link to online docs in the code
2024-01-13 22:40:27 +01:00
Serhii Snitsaruk
c875f9d5d6
Fix BTState virtuals not being called
2024-01-13 19:08:34 +01:00
Serhii Snitsaruk
f546e285b7
Refactor and clean up the code
2024-01-13 17:10:42 +01:00
Serhii Snitsaruk
eec085278a
Fix name generation broken in module
2024-01-13 13:35:16 +01:00
Serhii Snitsaruk
21b5053b72
Rename window wrapper
2024-01-11 15:38:29 +01:00
Serhii Snitsaruk
e6c87be723
Fix various bugs and unit tests
2024-01-11 00:31:42 +01:00
Serhii Snitsaruk
0e37d3dfa3
Fix module compilation
2024-01-10 22:45:42 +01:00
Serhii Snitsaruk
8e9cc74857
Fix: User icons are not showing in the task palette
2024-01-10 19:16:43 +01:00
Serhii Snitsaruk
1dfa3e9808
Fix: User tasks not showing in the Task Palette
2024-01-10 17:50:02 +01:00
Serhii Snitsaruk
59537138bc
Fix: Create script template not working as expected
2024-01-10 15:23:04 +01:00
Serhii Snitsaruk
68b2aaf9d5
Fix IS_CLASS macro not working as expected
2024-01-10 13:33:42 +01:00
Serhii Snitsaruk
a8dc78765b
Restore icons
2024-01-10 01:17:09 +01:00