Commit Graph

841 Commits

Author SHA1 Message Date
Wilson E. Alvarez 5005cafeab
Merge 8f684f4169 into 5e961ec6fa 2024-05-07 09:41:38 -04:00
Wilson E. Alvarez 8f684f4169
Fix List<T> access
Due to upstream change:

	955d5affa8
2024-05-07 09:41:30 -04: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 2f0468bb00
Update EditorPlugin header location
Due to upstream change:

	1bcbbe96c4
2024-05-07 09:41:30 -04:00
Wilson E. Alvarez 2c740e7741
Update EditorHelpBit calls
Due to upstream change:

	a714cb9f65
2024-05-07 09:41:30 -04:00
Wilson E. Alvarez 606b5a9276
Add missing MarginContainer header
Due to upstream change:

	7884d63281
2024-05-07 09:41:30 -04:00
Wilson E. Alvarez fa1fd7f55f
Fix bottom panel visbility calls
Due to upstream change:

	eb6ca91ba6
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
Wilson E. Alvarez 5e5f849208
Fix upstream EditorScale header locations
Due to upstream change:

	4b55c81eba
2024-05-07 09:41:30 -04:00
Serhii Snitsaruk 5e961ec6fa
Merge pull request #103 from limbonaut/pre-commit
Add pre-commit configuration
2024-05-03 01:31:25 +02:00
Serhii Snitsaruk bc5d5d8610
Add pre-commit configuration
To install git hook scripts:
  pip install pre-commit
  pre-commit install
2024-05-03 00:21:51 +02:00
Serhii Snitsaruk 75e8e68da4
Merge pull request #100 from TranquilMarmot/patch-1
Add note about how to run demo/tutorial
2024-05-01 21:23:18 +02:00
Nate Moore 4fe4049c3a
game -> showcase 2024-05-01 10:01:44 -07:00
Serhii Snitsaruk 69e921be31
Merge pull request #101 from limbonaut/unit-tests
Add tests for nested HSM flow, tests for dispatch() and get_root(), and fix BBParam saved_value initializing to null
2024-05-01 18:43:13 +02:00
Serhii Snitsaruk c6bb5bad74
Fix: BBParam saved_value defaults to null 2024-05-01 18:09:06 +02:00
Serhii Snitsaruk 2c2f2dd4be
Test: BBParam default values 2024-05-01 18:08:59 +02:00
Serhii Snitsaruk dedffc4f22
Test: Nested HSM flow, dispatch() and get_root() 2024-05-01 18:08:40 +02:00
Nate Moore 4491a23d52
Add note about how to run demo/tutorial
Closes https://github.com/limbonaut/limboai/issues/99
2024-04-30 23:26:00 -07:00
Serhii Snitsaruk 0e843d3193
Merge pull request #95 from limbonaut/decorator-default-tick
BTDecorator: Add default `_tick` implementation
2024-04-30 13:14:02 +02:00
Serhii Snitsaruk 769de9a7e2
Merge pull request #89 from limbonaut/blackboard-api-improvements
Blackboard: Add `create` parameter to `bind_var_to_property` and `link_var`
2024-04-30 11:31:22 +02:00
Serhii Snitsaruk 2bfedec518
Merge pull request #96 from onze/patch-1
Documentation update - BTSubTree
2024-04-22 20:16:36 +02:00
val 29d4b92bf4 found how to get custom links into the doc 2024-04-22 13:52:09 -04:00
val 40850067c8 moved the change to the doc sources 2024-04-22 12:58:44 -04:00
val f45e954e62
Update class_btsubtree.rst 2024-04-22 09:24:24 -04:00
val 40ea2ce01a
Update class_btsubtree.rst
Added a note about updating `subtree` at runtime.
2024-04-22 09:21:41 -04:00
Serhii Snitsaruk e1c8ce4a58
BTDecorator: Add default `_tick` implementation
The default implementation simply ticks the child task and returns its status.
2024-04-22 11:07:50 +02:00
Serhii Snitsaruk af0250dc60
Merge pull request #93 from limbonaut/fix-get-root
Fix `LimboState::get_root` and `dispatch` freeze the process in case of nested HSMs
2024-04-21 16:42:02 +02:00
Serhii Snitsaruk 4207fbf8f3
Fix `LimboState::get_root` freezes the process 2024-04-21 16:26:41 +02:00
Serhii Snitsaruk 03de485ebb
Merge pull request #92 from limbonaut/debugger-multi-session
Support multiple debugger sessions
2024-04-21 13:27:17 +02:00
Serhii Snitsaruk 7f89659110
Support multiple debugger sessions 2024-04-21 13:04:16 +02:00
Serhii Snitsaruk 1a37540797
Merge pull request #91 from limbonaut/fix-bt-ticked-after-transition
HSM: Delay state transition till update is finished
2024-04-20 21:50:46 +02:00
Serhii Snitsaruk c4df916bdf
HSM: Delay state transition till update is finished 2024-04-20 21:30:26 +02:00
Serhii Snitsaruk 5048d6a485
Fix BT being ticked after transition happened and state is no longer active 2024-04-20 20:19:07 +02:00
Serhii Snitsaruk 24382d3fd1
GHA: Fix demo has empty version file 2024-04-12 20:15:45 +02:00
Serhii Snitsaruk 5045e5b864
Merge pull request #88 from limbonaut/gha-macos-dotnet
GHA: Build .NET binaries for macOS
2024-04-12 18:59:55 +02:00
Serhii Snitsaruk c739a876b0
Blackboard: Add `create` parameter to `bind_var_to_property` and `link_var` 2024-04-09 11:34:22 +02:00
Serhii Snitsaruk 5e63477f9b
GHA: Build .NET binaries for macOS 2024-04-09 11:04:29 +02:00
Serhii Snitsaruk 09562ffbd3
Merge pull request #87 from limbonaut/gha-provide-version
GHA: Provide version.txt with GDExtension builds & demo project
2024-04-07 15:55:33 +02:00
Serhii Snitsaruk ceeb4dbeb3
GHA: Provide version.txt with GDExtension builds & demo 2024-04-07 14:11:39 +02:00
Serhii Snitsaruk 0ff93faacc
Merge pull request #85 from limbonaut/plan-improvements
`BlackboardPlan` fixes
2024-04-01 18:03:22 +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 d48daf2135
BlackboardPlan: Avoid circular references in derived mode
If the same plan resource is assigned in BehaviorTree and in BTPlayer, simply use the resource as is. Using the same resource for `BehaviorTree` and `BTPlayer` will disable derived mode, and allow managing from `BTPlayer` . There is a risk of using `NodePath` variables with different scenes: the path may actually be different if node structure is not the same. It will lead to fetching breaking for some of those scenes.
2024-04-01 01:45:40 +02:00
Serhii Snitsaruk 5ff42e29e4
Always duplicate `BlackboardPlan` props 2024-04-01 01:11:51 +02:00
Serhii Snitsaruk 7160804c82
GHA: Bump geekyeggo/delete-artifact to v5 2024-03-26 18:49:26 +01:00
Serhii Snitsaruk 58d7ea223e
Merge pull request #84 from limbonaut/fix-subtree-bb-plan
BTSubtree: Fix subtree blackboard plan is not property utilized
2024-03-26 18:35:02 +01:00
Serhii Snitsaruk e50b00c70e
BTSubtree: Fix subtree blackboard plan is not property utilized 2024-03-26 18:19:31 +01:00
Serhii Snitsaruk 31db4b4543
Merge pull request #82 from limbonaut/fix-blackboard-plan-issues
Fix blackboard plan issues
2024-03-26 17:08:06 +01:00
Serhii Snitsaruk 671ca50b82
Update demo AI assets 2024-03-25 01:08:58 +01:00
Serhii Snitsaruk a5aea72a17
Plan: Fix syncing derived plan sometimes fails on var rename 2024-03-25 01:04:07 +01:00