Commit Graph

1071 Commits

Author SHA1 Message Date
Serhii Snitsaruk d2ba904243
Merge pull request #181 from limbonaut/bt-instance
Implement `BTInstance` - runtime instance of `BehaviorTree`
2024-08-04 10:15:08 +02:00
Serhii Snitsaruk 63ef3e0555
BTPlayer: Fix `updated` signal and deprecate `behavior_tree_finished` signal 2024-08-03 16:11:47 +02:00
Serhii Snitsaruk 869b6465b9
Unregister BT instance with debugger if BTPlayer is removed from tree 2024-08-03 14:57:57 +02:00
Serhii Snitsaruk 91edd1c0b5
Documentation fixes 2024-08-03 14:39:27 +02:00
Serhii Snitsaruk 6b4c97e545
Fix BehaviorTree.instantiate() method binding 2024-08-03 14:29:24 +02:00
Serhii Snitsaruk 5f5b62a4ea
Fix BTState setup 2024-08-03 14:17:26 +02:00
Serhii Snitsaruk 68a9492f3d
Fix uninitialized integers 2024-08-03 13:48:15 +02:00
Serhii Snitsaruk 9abfe4ce95
Update class docs 2024-08-03 13:14:31 +02:00
Serhii Snitsaruk 6c794d6a7e
Refactor BTInstance.update() 2024-08-03 11:56:32 +02:00
Serhii Snitsaruk 47ad95b265
Fix demo API calls 2024-08-03 11:40:56 +02:00
Serhii Snitsaruk c4c9b5fe09
Utilize BTInstance in BTState 2024-08-03 11:39:23 +02:00
Serhii Snitsaruk fc26f51ff2
Implement BTInstance - runtime instance of BehaviorTree 2024-08-03 11:07:06 +02:00
Serhii Snitsaruk a2a62f636b
Merge pull request #180 from limbonaut/fix-changed-already-connected
Fix error if `changed` signal is already connected in several tasks
2024-08-02 14:43:21 +02:00
Serhii Snitsaruk ce1867be7a
Fix error if `changed` signal is already connected to a BBParam in a bunch of tasks 2024-08-02 10:07:42 +02:00
Serhii Snitsaruk 09185211ff
Merge pull request #177 from limbonaut/hide-update-mode
Hide `update_mode` property for non-root HSMs
2024-07-31 15:26:45 +02:00
Serhii Snitsaruk 9e79183579
Update demo import 2024-07-31 14:50:56 +02:00
Serhii Snitsaruk bed04dbf87
Hide update_mode for non-root HSMs 2024-07-31 14:50:04 +02:00
Serhii Snitsaruk 64df43c7c9
Merge pull request #176 from limbonaut/hsm-input-fix
LimboHSM: Fix process_input is not enabled in active substate
2024-07-31 13:40:50 +02:00
Serhii Snitsaruk d7daa027ee
Merge pull request #174 from limbonaut/gha-arm-builds
GHA: Add Linux & Windows ARM64 builds
2024-07-31 13:28:55 +02:00
Serhii Snitsaruk abe9a26460
GHA: Add Linux ARM32 template builds 2024-07-31 12:45:12 +02:00
Serhii Snitsaruk 2c58cfc3cb
GHA: Don't strip binaries, done at build time 2024-07-31 12:45:02 +02:00
Serhii Snitsaruk a1d6276097
Fix process_input is not enabled in active substate 2024-07-31 12:15:15 +02:00
Serhii Snitsaruk afc2b63f06
GHA: Disable Editor .NET ARM64 2024-07-31 10:43:56 +02:00
Serhii Snitsaruk af27aca021
GHA: Fix strip failing in Linux ARM64 builds 2024-07-30 16:19:02 +02:00
Serhii Snitsaruk dad5082e7e
GHA: Add Linux ARM toolchain 2024-07-30 15:27:58 +02:00
Serhii Snitsaruk 6aa4e63929
Merge pull request #173 from limbonaut/gha-fix-ios-builds
GHA: Fix iOS builds
2024-07-30 15:24:04 +02:00
Serhii Snitsaruk 8568572092
GHA: Add Windows ARM64 builds 2024-07-30 14:20:46 +02:00
Serhii Snitsaruk 3cce7aa0a6
GHA: Add arm64 Linux builds 2024-07-30 14:16:01 +02:00
Serhii Snitsaruk f1dba8f061
GHA: Disable treating warnings as errors for iOS builds 2024-07-30 13:49:59 +02:00
Serhii Snitsaruk 17eb029497
Merge pull request #172 from limbonaut/fix-btplayer-restart-crash
Fix BTPlayer.restart() crash
2024-07-30 13:46:51 +02:00
Serhii Snitsaruk 456687c857
Fix BTPlayer.restart() crash 2024-07-30 12:42:22 +02:00
Serhii Snitsaruk 186ee3c6a7
Update README 2024-07-30 12:02:02 +02:00
Serhii Snitsaruk 0e059c8a52
Merge pull request #164 from limbonaut/hsm-improvements
HSM improvements
2024-07-21 15:19:03 +02:00
Serhii Snitsaruk 17ccd50806
Add tests for change_active_state() 2024-07-21 14:07:56 +02:00
Serhii Snitsaruk b478c8eb2c
Add tests for has_transition() and remove_transition() 2024-07-21 14:02:27 +02:00
Serhii Snitsaruk cf99a27692
Refactor LimboHSM 2024-07-21 13:45:36 +02:00
Serhii Snitsaruk f7eb374c1e
Add `LimboHSM.has_transition(from, event)` 2024-07-21 13:35:16 +02:00
Serhii Snitsaruk a7881a0eea
Rework HSM transitions bookkeeping
Fixes a potential rare hash collision situation, and allows additional
attributes to be stored with the transition data in future.
2024-07-21 13:28:59 +02:00
Serhii Snitsaruk 0934e4e672
Expose `LimboHSM.change_active_state()` 2024-07-20 18:15:21 +02:00
Serhii Snitsaruk ddbfa132a5
Update docs 2024-07-20 17:25:24 +02:00
Serhii Snitsaruk 7c57c7dd62
Add LimboHSM.remove_transition 2024-07-20 17:23:13 +02:00
Serhii Snitsaruk 3565d6dc43
Merge pull request #162 from ydeltastar/fix-btplayer-error
Fix error when opening scene with a `BTPlayer`
2024-07-18 05:22:33 +02:00
Serhii Snitsaruk 18ee21554e
Merge pull request #161 from ydeltastar/fix-new-script-path
Fix new task script path don't update after changing the setting
2024-07-17 20:17:00 +02:00
yds 7073db7bfa Fix error when loading scene with a `BTPlayer` 2024-07-17 13:25:58 -03:00
yds 3e5e34f5f8 Fix new task script path don't update after changing the setting 2024-07-10 13:23:48 -03:00
Serhii Snitsaruk 0f9c566a63
Merge pull request #159 from limbonaut/improve-tooltips
Improve documentation tooltips
2024-07-07 13:44:26 +02:00
Serhii Snitsaruk 86d31f5f00
Update demo documentation comments 2024-07-07 13:22:02 +02:00
Serhii Snitsaruk 5f40d38f8d
Add a hack to force documentation parsing on user scripts
As things currently stand in Godot Engine, documentation comments are
not loaded from user scripts into help system when the project is
started. This leads to empty tooltips for user tasks in LimboAI, unless
such a script is resaved.

This hack forces script documentation to be added to help system,
when the editor needs it to show a tooltip.
2024-07-07 12:13:07 +02:00
Serhii Snitsaruk 800bc8f16d
Tooltip improvements
- Fix tooltip not shown for scripted tasks in TaskPalette
- Allow following links in the tooltip text
- If help data cannot be found, an empty tooltip is shown instead
2024-07-06 16:46:55 +02:00
Serhii Snitsaruk 40acd04eb9
Fix tooltip popup too small 2024-07-06 12:33:08 +02:00