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

Add TypeScript support #56

Open
Calamari opened this issue Nov 7, 2021 · 2 comments
Open

Add TypeScript support #56

Calamari opened this issue Nov 7, 2021 · 2 comments

Comments

@Calamari
Copy link
Owner

Calamari commented Nov 7, 2021

I guess, that will be a version 3, since I think there will be some opportunities to make the API a bit better. Let's see.

@Calamari
Copy link
Owner Author

Calamari commented Nov 7, 2021

Here it is: #57

I will play around with it a bit, before creating a new version, to see what can be optimized. Feedback is welcome, if someone dares to check it out :-)

@MikalDev
Copy link

MikalDev commented Oct 10, 2023

Just FYI - testing out the typescript branch to integrate into our game.

The one thing I am going to look at adding is some stack nodes:
PushToStack(item, stackVar)
PopFromStack(stack, itemVar)
IsEmpty(stack)

(Reference: https://www.gamedeveloper.com/programming/behavior-trees-for-ai-how-they-work)

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

No branches or pull requests

2 participants