Behaviour Engineer by pschichtel
Manipulate behaviours and conquer the world.

Example of a behaviour tree that does not immediately die.
Explanation of that tree:
In every tick do:
- Repeat Observing nearby particles.
- Repeat Selector (stops when one child behaviour was successful)
- Sequence (execute in order ; stop when one child behaviour fails)
- Look for nearby food
- Walk to nearby food
- Eat targeted food
- Split
- Interuptor (runs the child behaviour and interupts it when the condition succeeds)
- Random Walk
- Not (Look for nearby food)
So in short: Cells look for nearby stuff. If it finds food it walks to it and eats it then splits (if possible). If it cannot do this randomly walk around until food is found.
Important: This has been developed and tested with Firefox 69 and Chrome 77. The game uses modern APIs which might be unavailable on older browsers. In case you encounter problems, please include your browser and version.
Ratings
| Given | 7🗳️ | 8🗨️ |
Really need some kind of manual. Id like to play it but cant seem to understand how)
Child nodes only exist for:
- Sequence
- Parallel
- Selector
- Repeat
- Not
- Interupt
When a child node is mandatory the plus icon is always visible. Just drag a behaviour onto it.
For Sequences etc. additional plus icons appear when you hover over its box.
@pythooonuser
I added a cheat link that has the tree as seen in the screenshot. You can play with that (but don't start with nothing anymore)
@toc
I added some explanation. Hope that helps.
@nj-vs-valhalla
I changed the order of the behaviours in the side panel to make a bit more sense.
We would have liked to visibly put them in different categories like
- Perception
- Movements
- Actions
- Meta
but there was no time left.