Comments (3)
definitely cleaner, I feel dumb for not having thought of it hahaha
I will close this issue for now, even tho I won't update the current example scene, as there already is a new one on the way (#55). You are VERY WELCOME to contribute your own examples to the 2.0.0
branch if you find that your testing could help others understand the plugin in a better way!
from behaviourtoolkit.
It's kinda hard to read for a first-time user
Yes, I totally agree, that that the current example scene needs some work. It functions as some crude kind of testing and regression-catching device, as it uses most of the new nodes. I am hoping to get some simpler examples in for the next big release.
[...] but what I want to mention in this issue is that there are function calls which do not point anywhere and are dynamically cast. [...] I cannot ctrl+click set_modulate either.
This is a good point, however I think using something like (actor as Actor)
can become really tiresome and exhausting to write and read. What do you think of something like this?
## Executes after the state is entered.
func _on_enter(actor: Node, _blackboard: Blackboard):
# Cast to Actor
actor = actor as Actor
# Make Transparent
actor.set_modulate(Color(1, 1, 1, 0.5))
actor.ghost_state_machine.fire_event("fully_transformed")
from behaviourtoolkit.
definitely cleaner, I feel dumb for not having thought of it hahaha
from behaviourtoolkit.
Related Issues (20)
- Sometimes a scene needs to be reloaded before you can edit / reset properties after adding a new node. HOT 6
- Godot 4.2 what is the policy HOT 2
- Tween node - add option to use value from blackboard HOT 4
- Using ReadTheDocs for documentation HOT 1
- Loop decorator leaf HOT 13
- Redesign feature request: Simplify transitions HOT 7
- Maybe include behaviour and behavior in the title of your plugin in godot HOT 3
- Input? HOT 6
- Remove actor parameter in behavour's in favor of something else HOT 11
- Open discussions tab for repo HOT 1
- Convert BehaviourToolKit to use resources and graphic edit HOT 1
- LeafCondition for Vector2.length? HOT 2
- Add blackboard value support to LeafCall and LeafTween HOT 6
- LeafCall should accept blackboard value as argument type
- Errors after v2.0.1 update HOT 3
- Add the _on_enter() function to the BTBehaviour class for leaf,composite and etc HOT 1
- C#? HOT 1
- BTSequence does not return SUCCESS when the last action is successful until the after first action has run again in some cases. HOT 2
- `FiniteStateMachine` only processes one event per frame. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from behaviourtoolkit.