Commit Graph

791 Commits

Author SHA1 Message Date
Serhii Snitsaruk d66f1e83fd Refactor BlackboardPlan to use StringName
Also update demo BTs.
2024-03-04 16:56:57 +01:00
Serhii Snitsaruk 923587e6e2 Doc: Update examples to use `StringName` 2024-03-04 16:27:35 +01:00
Serhii Snitsaruk ecf1e4b65f Doc: Update class docs 2024-03-04 16:19:39 +01:00
Serhii Snitsaruk 7cf4a4b3b8 Fix setter/getter types in BBVariable 2024-03-04 16:19:39 +01:00
Serhii Snitsaruk 88df78c4a2 Refactor HSM to use StringName for events 2024-03-04 16:19:35 +01:00
Serhii Snitsaruk 84aeb4bfff Adjust BB variable property editor to expect `StringName` 2024-03-04 15:09:15 +01:00
Serhii Snitsaruk 350c27abbc Change BB variable members to StringName 2024-03-04 12:54:45 +01:00
Serhii Snitsaruk b7d1bc11ab Blackboard: Use `StringName` for variable names 2024-03-03 23:38:52 +01:00
Serhii Snitsaruk e1bddb5d02 Doc: Fix README shields 2024-03-03 21:00:32 +01:00
Serhii Snitsaruk 507da30f04 Improve README 2024-03-03 20:53:27 +01:00
Serhii Snitsaruk 6b376e5e9a
Merge pull request #56 from dpalais/changes
Change some includes to use relative paths
2024-03-03 00:32:11 +01:00
Dave Palais 73aa636271 Change some includes to use relative paths
The paths before assumed we were inside the Godot modules folder.
This change enables building as an external module.
2024-03-02 18:10:00 -05:00
Serhii Snitsaruk f5d21e2669 Fix BTState not honoring API virtual methods 2024-03-02 20:19:38 +01:00
Serhii Snitsaruk c96e2019af Doc: Explain blackboard scopes 2024-03-02 16:17:40 +01:00
Serhii Snitsaruk bb6fab7555 API: Expose BlackboardPlan factory methods 2024-03-02 16:06:32 +01:00
Serhii Snitsaruk c4931ae420 Fix Blackboard.{set,get}_parent_scope should be {set,get}_parent in the API 2024-03-02 15:43:55 +01:00
Serhii Snitsaruk ba462c9526 Doc: Add copy button to the right of codeblocks 2024-03-02 13:15:17 +01:00
Serhii Snitsaruk e260498776 Doc: Explain parameters 2024-03-02 12:49:00 +01:00
Serhii Snitsaruk 6f9ff6a487 Doc: Update LimboState class doc 2024-03-02 00:10:44 +01:00
Serhii Snitsaruk aab38c9fb9 Doc: Rearrange pages 2024-03-02 00:06:34 +01:00
Serhii Snitsaruk 6d877c800a Doc: Add "State Machines" page.
Also update rst class docs.
2024-03-01 23:44:29 +01:00
Serhii Snitsaruk 543f2bb32c
Merge pull request #55 from limbonaut/hsm-dispatch-improvement
Allow `LimboState::dispatch` to be called from inside the hierarchy.
2024-03-01 11:56:38 +01:00
Serhii Snitsaruk eaeb57e2d7 Allow `LimboState::dispatch` to be called from inside the hierarchy.
Improves usability and removes requirement to call this method on the root state (see #49).
2024-03-01 11:02:32 +01:00
Serhii Snitsaruk 1aa64f8c5d
Merge pull request #54 from limbonaut/demo-show-code
Demo: Display source code when custom task is selected in BehaviorTreeView
2024-03-01 10:40:32 +01:00
Serhii Snitsaruk 24730a9213 Demo: Display custom task source code upon selection in BehaviorTreeView 2024-02-29 23:42:32 +01:00
Serhii Snitsaruk 7626c84633 New `task_selected` signal for BehaviorTreeView 2024-02-29 23:42:24 +01:00
Serhii Snitsaruk 2d98a38ada Fix "Manage" button is sometimes shown for derived plans 2024-02-29 15:45:59 +01:00
Serhii Snitsaruk c7a4988e6c
Merge pull request #52 from limbonaut/fix-hsm-update-crash
Fix crashing on HSM update with state transition
2024-02-26 22:29:09 +01:00
Serhii Snitsaruk 1c01767a56 Fix crashing on HSM update with state transition 2024-02-26 21:34:30 +01:00
Serhii Snitsaruk 9fbbea49a9 Fix exported demo builds breaking
Demo still requires tool builds - keeping release libs lean.
2024-02-19 11:02:28 +01:00
Serhii Snitsaruk 01d643831c Fix: Web GDExtension target lacks manifest entries and debug build 2024-02-18 22:55:42 +01:00
Serhii Snitsaruk 9d99e8bf9f Doc: Update README and setup_gdextension.sh 2024-02-18 22:51:59 +01:00
Serhii Snitsaruk d393784bbe Doc: Update accessing-nodes.rst 2024-02-18 20:50:09 +01:00
Serhii Snitsaruk c8ad4dc956 Doc: Sync rst class doc 2024-02-18 20:25:53 +01:00
Ola S. b8d054a080 Add icon for BTEvaluateExpression 2024-02-18 20:12:09 +01:00
Serhii Snitsaruk 0caa2369c6
Merge pull request #43 from Rubonnek/add-bt-evaluate-expression
Add `BTEvaluateExpression`
2024-02-18 19:43:34 +01:00
Wilson E. Alvarez fb958c7c34
Add BTEvaluateExpression 2024-02-18 12:20:48 -05:00
Serhii Snitsaruk 8176d5c83c
Merge pull request #46 from limbonaut/fix-task-icons-in-demo
Fix icons not shown for scripted tasks in demo with the module version
2024-02-18 15:52:43 +01:00
Serhii Snitsaruk 5b478b6229 Fix scripted task icons in demo with module version 2024-02-18 14:16:23 +01:00
Serhii Snitsaruk 27327cf18e
Merge pull request #45 from limbonaut/docs
Update documentation
2024-02-17 23:55:34 +01:00
Serhii Snitsaruk 487c008f5c Doc: Add accessing-nodes page 2024-02-17 23:54:38 +01:00
Serhii Snitsaruk e7f1d3a424 Doc: Update introduction to behavior trees 2024-02-17 23:25:45 +01:00
Serhii Snitsaruk 0f0a09cc5e
Merge pull request #44 from Rubonnek/fix-btv-formatting
Fix BehaviorTreeView doc formatting
2024-02-17 22:26:01 +01:00
Wilson E. Alvarez dad8d86d3e
Fix BehaviorTreeView doc formatting 2024-02-17 16:05:13 -05:00
Serhii Snitsaruk e1d03d651a Demo: Add icons for navigation buttons 2024-02-17 21:49:04 +01:00
Serhii Snitsaruk 291a40d33a Demo: Fix skirmisher variable missing errors 2024-02-17 20:42:31 +01:00
Serhii Snitsaruk cac44eadc7 Demo: Init scaling and base resolution 2024-02-17 20:42:31 +01:00
Serhii Snitsaruk 78c61d459d
Merge pull request #42 from limbonaut/debugger-improvements
Debugger improvements
2024-02-17 15:35:09 +01:00
Serhii Snitsaruk b3380bd0ac Fix missing break in a switch 2024-02-17 15:15:20 +01:00
Serhii Snitsaruk 7ebdfc9026 Update BehaviorTreeView class doc 2024-02-17 15:03:18 +01:00