Commit Graph

1080 Commits

Author SHA1 Message Date
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
Serhii Snitsaruk ecf44e83e0 Debugger: Add update interval controls and keep it in the config
Also fix bug with partial update.
2024-02-17 14:56:19 +01:00
Serhii Snitsaruk b9cd31eb2b Debugger: Add BehaviorTreeView::update_interval_msec property 2024-02-17 13:40:53 +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 38409d45f9
Merge pull request #41 from Rubonnek/fix-typed-array-crash
Fix crash upon increasing TypedArray<BBVariant> size
2024-02-16 17:58:40 +01:00
Wilson E. Alvarez 1711cb6b87
Fix crash upon increasing TypedArray<BBVariant> size
Needed after upstream patch:

db7175458a
2024-02-16 10:46:42 -05:00
Serhii Snitsaruk b220a9f418 GHA: Remove project.godot from GDExtension build 2024-02-15 22:40:53 +01:00
Serhii Snitsaruk 91f3148493 Demo: Init input via code to insure that demo works even when project.godot is not imported 2024-02-15 22:34:32 +01:00
Serhii Snitsaruk 5909735add GHA: Just copy the whole demo in GDExtension build 2024-02-15 17:06:38 +01:00
Serhii Snitsaruk bc3fe05a4d GHA: Bundle license with GDExtension build 2024-02-15 16:33:08 +01:00
Serhii Snitsaruk d9c6a64a62 Move LICENSE_ASSETS.md 2024-02-15 16:31:08 +01:00
Serhii Snitsaruk ed69bcf0bb
Update README.md 2024-02-15 16:23:15 +01:00