Commit Graph

1157 Commits

Author SHA1 Message Date
Serhii Snitsaruk b4eec2c364
Fix event handler signature example in docs 2024-08-10 14:58:20 +02:00
Serhii Snitsaruk 02af29f2fa
Merge pull request #190 from limbonaut/dev-setup
Improved dev setup for GDExtension
2024-08-10 11:06:43 +02:00
Serhii Snitsaruk 3a40de482f
Fix icon *.import files on scons build
Enables editor scaling and color conversion in LimboAI icon imports.
This won't work until icons are actually imported in the godot editor, but that's okay - it's a convenience feature.
2024-08-10 10:32:35 +02:00
Serhii Snitsaruk 1e1fb5adaf
Clone godot-cpp if not found during scons build 2024-08-09 14:21:40 +02:00
Serhii Snitsaruk 80e3ff705d
Remove setup_gdextension.sh & update README 2024-08-09 13:13:26 +02:00
Serhii Snitsaruk 10b90b70fe
GHA: Don't use setup_gdextension.sh (no longer needed) 2024-08-08 22:55:51 +02:00
Serhii Snitsaruk 7708a11840
Deploy icons on scons build (optionally) 2024-08-08 22:00:16 +02:00
Serhii Snitsaruk 98accb1aa8
Automatically deploy limboai.gdextension on build 2024-08-08 14:41:25 +02:00
Serhii Snitsaruk bf33917cfd
Add help and verification for --project option in SConstruct 2024-08-08 13:27:36 +02:00
Serhii Snitsaruk 304bd86220
Write icon entries to manifest only if changed 2024-08-07 17:47:50 +02:00
Serhii Snitsaruk 629062ea26
Update icon entries during scons build 2024-08-07 17:29:08 +02:00
Serhii Snitsaruk 2528741333
Rename update_icons.py to update_icon_entries.py 2024-08-07 17:11:51 +02:00
Serhii Snitsaruk d5becadd59
Add script to fix icon imports in the demo project 2024-08-07 17:04:49 +02:00
Serhii Snitsaruk 7b0d0aa779
GHA: Update GDExtension workflow for new structure 2024-08-07 15:26:40 +02:00
Serhii Snitsaruk 650e381659
update setup_gdextension.sh to work with new GDExtension project structure 2024-08-07 15:15:59 +02:00
Serhii Snitsaruk 6134d5130c
update SConstruct to be used from repo root and add --project option 2024-08-07 15:01:50 +02:00
Serhii Snitsaruk 32d74427e5
chore: move SConstruct to repo root 2024-08-07 14:52:05 +02:00
Serhii Snitsaruk f14a19b947
Merge pull request #189 from ydeltastar/filter-fix
Make player filter in the debugger case-insensitive
2024-08-07 10:11:19 +02:00
yds 1b04a8589f Make player filter in the debugger case-insensitive 2024-08-06 16:34:06 -03:00
Serhii Snitsaruk abb2af7d27
Merge pull request #188 from limbonaut/fix-csharp-export-errors
Fix C# exports print errors due to missing ClassDB binding
2024-08-06 19:57:07 +02:00
Serhii Snitsaruk 84becbe914
Fix C# exports print errors due to missing ClassDB binding 2024-08-06 18:17:55 +02:00
Serhii Snitsaruk 549a595b42
Doc: Fix codeblock broken sphinx 2024-08-05 17:27:43 +02:00
Serhii Snitsaruk a56272a248
Doc: Clarify `LimboState.add_event_handler()` 2024-08-05 17:09:55 +02:00
Serhii Snitsaruk 63de416066
Merge pull request #186 from limbonaut/double-click-to-edit-script
Edit task script on double-click (open help for core task)
2024-08-05 16:54:40 +02:00
Serhii Snitsaruk c19fd54927
Edit task script on double-click (open help for core task) 2024-08-05 16:34:54 +02:00
Serhii Snitsaruk f8c6e83688
Merge pull request #185 from limbonaut/open-builtin-doc
Editor setting to prefer online docs, and open builtin docs by default
2024-08-05 16:29:12 +02:00
Serhii Snitsaruk 5a4893fc53
Editor setting to prefer online docs, and open builtin docs by default 2024-08-05 15:46:02 +02:00
Serhii Snitsaruk 14d8df0858
Merge pull request #184 from limbonaut/custom-scene-root
Allow supplying custom scene root for behavior tree instantiation
2024-08-05 15:18:21 +02:00
Serhii Snitsaruk 868baa470a
Fix documentation errors 2024-08-05 13:34:13 +02:00
Serhii Snitsaruk 319c5787be
Add BTState::set_scene_root_hint() 2024-08-05 13:21:57 +02:00
Serhii Snitsaruk 1e9b321283
Allow setting custom scene root for behavior trees
- Adds new argument to `BehaviorTree.instantiate()`
- Adds `BTPlayer.set_scene_root_hint()` method
2024-08-05 13:03:50 +02:00
Serhii Snitsaruk 8b2770116d
Merge pull request #183 from limbonaut/btplayer-allow-changing-instance
BTPlayer: Allow switching BT instance at runtime
2024-08-04 13:16:48 +02:00
Serhii Snitsaruk 40863313dd
Check if blackboard is null in `BehaviorTree.instantiate()` 2024-08-04 12:41:25 +02:00
Serhii Snitsaruk ee12a56e96
BTPlayer: Allow changing BT instance at runtime 2024-08-04 12:36:44 +02:00
Serhii Snitsaruk 0f82fa3d64
Merge pull request #182 from limbonaut/btstate-monitor-performance
Allow monitoring BT performance in `BTState`
2024-08-04 11:39:02 +02:00
Serhii Snitsaruk df11afaf44
Allow monitoring BT performance in BTState 2024-08-04 10:37:41 +02:00
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