Commit Graph

660 Commits

Author SHA1 Message Date
Serhii Snitsaruk 8260954654
Merge pull request #30 from limbonaut/keyboard-shortcuts
Fix shortcuts not working in the module version
2024-02-07 13:21:23 +01:00
Serhii Snitsaruk 6405f9031b Fix shortcuts not working in the module version
Resolves #27
2024-02-07 12:36:59 +01:00
Serhii Snitsaruk 449538d6d3
Merge pull request #26 from limbonaut/debugger-crash-fix
Fix: Debugger crashes when detached in GDExtension
2024-02-06 16:52:19 +01:00
Serhii Snitsaruk 6713ea1590 Fix: Debugger crashes when detached in GDExtension
Resolves #25.
2024-02-06 16:30:02 +01:00
Serhii Snitsaruk 16840057a1 Editor: More space and align to right for BehaviorTreeView timings 2024-02-06 15:44:25 +01:00
Serhii Snitsaruk a353e561de Editor: More space for timings in BehaviorTreeView 2024-02-06 14:54:18 +01:00
Serhii Snitsaruk d0c7d98fc4 Editor: Clip content in BehaviorTreeView 2024-02-04 16:23:15 +01:00
Serhii Snitsaruk 74a3635e1c
Merge pull request #24 from limbonaut/expose-behavior-tree-view
Expose `BehaviorTreeView` and `BehaviorTreeData` to use with custom in-game tools
2024-02-03 21:09:51 +01:00
Serhii Snitsaruk 3ce199f628 Fix GDExtension template compilation error 2024-02-03 17:59:21 +01:00
Ola S. f60fa3a7f2 Add icon for BehaviorTreeView 2024-02-03 17:55:05 +01:00
Serhii Snitsaruk 8dc645c9a7 Fix issues and update docs for BehaviorTreeData/View 2024-02-03 17:53:12 +01:00
Serhii Snitsaruk c5b92aa676 Expose BehaviorTreeView for tools and in-game use 2024-02-03 16:59:51 +01:00
Serhii Snitsaruk 5bd8a90dcd
Merge pull request #23 from limbonaut/remember-collapsed
Editor: Remember collapsed items in the task tree
2024-02-02 17:40:57 +01:00
Serhii Snitsaruk 3e32051791 Editor: Remember collapsed items in task tree 2024-02-02 16:46:26 +01:00
Serhii Snitsaruk b0e4c15982
Merge pull request #22 from Rubonnek/fix-doc
Fix wrong parameter reference in Blackboard documentation
2024-02-02 11:40:12 +01:00
Wilson E. Alvarez b765b2adc8
Fix wrong parameter reference in Blackboard documentation 2024-02-01 20:47:54 -05:00
Serhii Snitsaruk ab564eb631 BTProbability: Fix incorrect percentage shown 2024-01-31 15:40:59 +01:00
Serhii Snitsaruk c49f5d2b0a
Merge pull request #21 from VisitingOcean/small_docs_fix
Fix space/tab issues in custom-tasks.rst
2024-01-31 10:48:58 +01:00
VisitingOcean 9576cdc8e7
Update custom-tasks.rst
Fix some spacing typos to prevent mixed space/tab errors when copy/pasting into the Godot editor.
2024-01-30 16:48:42 -06:00
Serhii Snitsaruk caff21137d Doc: Add page on sharing data with Blackboard 2024-01-29 14:53:53 +01:00
Serhii Snitsaruk 61ef929411 Editor: Don't allow variables with the same names as Resource props 2024-01-29 10:32:32 +01:00
Serhii Snitsaruk b4ab521e0f Editor: Improve tooltips in the property editors 2024-01-29 10:26:13 +01:00
Serhii Snitsaruk ee0795269d Editor: Fix issues with property editors & remove old docs 2024-01-29 10:16:24 +01:00
Serhii Snitsaruk 11f43c2494 Update demo 2024-01-28 22:36:30 +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 c44648c69c Fix nullptr crash 2024-01-28 22:00:47 +01:00
Ola S. de8d3abbc8 Add icon for private vars in the EditorPropertyVariableName 2024-01-28 21:59:39 +01:00
Serhii Snitsaruk 011040e46f Editor: Distinguish private variables in the inspector 2024-01-28 21:58:18 +01:00
Serhii Snitsaruk 87a1687c74 BlackboardPlanEditor: Focus on added var and autofill name 2024-01-28 21:03:22 +01:00
Serhii Snitsaruk 174810fb34 Editor: Validate var name in BlackboardPlanEditor 2024-01-28 20:15:42 +01:00
Serhii Snitsaruk 7ac1bc2dec Use variable property editor within the param property editor 2024-01-28 19:24:59 +01:00
Ola S. b8bf8e07e9 Add icons for variable property editor 2024-01-28 17:49:55 +01:00
Serhii Snitsaruk 73f51f23ef Implement BB variable property editor 2024-01-28 17:49:38 +01:00
Serhii Snitsaruk 2612ec0855 Fix LimboHSM::add_transition signature 2024-01-28 11:56:53 +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 761b211740 Editor: Mark behavior tree as dirty when blackboard plan changes 2024-01-26 16:47:26 +01:00
Serhii Snitsaruk f8ce5c1311 GHA: Fix iOS packaging 2024-01-26 13:42:51 +01:00
Serhii Snitsaruk 662738e6bf
Merge pull request #20 from limbonaut/blackboard-improvements
Rework `Blackboard` API and introduce `BlackboardPlan` resource and editor.

- `BBVariable` object holds the value of a blackboard variable and its metadata (not exposed to the API).
- `BlackboardPlan` resource stores and manages a collection of variables, and is used to construct new `Blackboard` instances.
  - Each `BehaviorTree` resource has its own `BlackboardPlan` resource that acts as a blueprint.
  - `BTPlayer` also has its own `BlackboardPlan` which extends the behavior tree `BlackboardPlan` resource, i.e. variables from BehaviorTree are overridden in the BTPlayer node.
- Editor for the `BlackboardPlan` resources
  - Accessed with "Manage" button in the inspector.
  - Rename, reposition, and change type and hint of the blackboard variables.
  - Edit default variable values directly in the inspector.
- Define variables in the `BehaviorTree` blackboard plan and override those variables in the `BTPlayer`'s plan.
- Fully compatible with both module and GDExtension builds!
2024-01-26 11:14:25 +01:00
Serhii Snitsaruk f912f0acc4 Usability improvements 2024-01-25 22:58:21 +01:00
Ola S. a22860b244 Add BlackboardPlan icon 2024-01-25 21:08:03 +01:00
Serhii Snitsaruk 5fee89b00b Make blackboard improvements compatible with GDExtension 2024-01-25 19:46:27 +01:00
Serhii Snitsaruk a251d92aa3 Update class documentation 2024-01-25 14:56:59 +01:00
Serhii Snitsaruk 8155c2764a Refactoring and clean up 2024-01-25 14:35:48 +01:00
Serhii Snitsaruk fb1ab16682 In a derived BB plan, hide variables with names that begin with "_" 2024-01-25 11:51:35 +01:00
Serhii Snitsaruk 06052332b2 BlackboardPlanEditor: Fixes and clean up 2024-01-25 11:08:35 +01:00
Serhii Snitsaruk 15e0323919 Implement BlackboardPlan editor 2024-01-24 23:11:09 +01:00
Serhii Snitsaruk 20a995d1d2 Rename BlackboardSource => BlackboardPlan
Because it's a better name ;)
2024-01-23 20:02:23 +01:00
Serhii Snitsaruk b04f7530e4 Add a mechanism for overriding and resetting variables in a derived blackboard source 2024-01-23 17:54:20 +01:00
Serhii Snitsaruk f84127657b Fix crash while initializing blackboard in the BTPlayer node 2024-01-23 16:22:10 +01:00