Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚧 [WIP] reimplement all nodes in C++ #287

Open
wants to merge 20 commits into
base: v3
Choose a base branch
from
Open

🚧 [WIP] reimplement all nodes in C++ #287

wants to merge 20 commits into from

Conversation

bitbrain
Copy link
Owner

@bitbrain bitbrain commented Jan 6, 2024

Description

This lays the foundation for Beehave 3.0 - more details can be found here: #285

Functionalities

The following first need consultation with @bitbrain, as with Beehave V3 the idea is to design interrupts & before/after signals differently to V2.

  • interrupts
  • before/after signals
  • time-strategies (delta vs total)

Base Nodes

  • implement & test BeehaveTree
  • implement & test BeehaveBlackboard

Decorators

  • implement & test BeehaveCooldown
  • implement & test BeehaveDelayer
  • implement & test BeehaveFailer
  • implement & test BeehaveSucceeder
  • implement & test BeehaveInverter
  • implement & test BeehaveLimiter
  • implement & test BeehaveUntilFail
  • implement & test BeehaveTimeLimiter

Composites

  • implement & test BeehaveSelector
  • implement & test BeehaveSelectorRandom
  • implement & test BeehaveSelectorReactive
  • implement & test BeehaveSequence
  • implement & test BeehaveSequenceRandom
  • implement & test BeehaveSequenceReactive
  • implement & test BeehaveSequenceStar

Leafs

  • implement & test BeehaveAction
  • implement & test BeehaveCondition

@bitbrain bitbrain added this to the 3.0.0 milestone Jan 6, 2024
* implement beehave tree ready and blackboard

* recursive glob

* integrate BeehaveSucceeder skeleton
* pass tick

* pass tick

* update gdunit + introduce exports
* progress but failing

* remove debugger test scene

* implement limiter

* implement delayer

* add repeater

* fixes

* time limiter skeleton

* implement remaining nodes

* add blackboard

* fix orphans

* expose values in Dictionary

* more fixes

* attempt to add virtual methods

* kinda fix enum return type

* use global enum
@RafaelVidaurre
Copy link

Curious, what's the current state of the V3 migration?

@bitbrain
Copy link
Owner Author

@RafaelVidaurre see the checkboxes in the description for the current status. In terms of work, I aim to do a bit here and there, but it can take a while because I do this in my freetime as a hobby. ♥️

* add composite

* add selector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants