Home

Awesome

BEHAVIOR3JS

Behavior3JS is the original implementation and official javascript version of the Behavior3 library. It provides structures and algorithms that assist you in the task of creating intelligent agents for your game or application.

Main features

Usage

Install the library

npm install behavior3js

You can use the online visual editor to design your behavior tree.

It is very recommended that you take a look into the user guide, for both core and editor, where you will find examples and descriptions of features in the library:

Contents

Core Classes

This library include the following core structures...

Nodes

Composite Nodes:

Decorators:

Actions:

Building

In order to build the library or generate the documentation you must have NodeJS and gulp, and install the proper dependencies:

npm install

By using

gulp build

you get the concatenated and minified version of the library as well the documentation folder and compacted version.

Through the development, you can use

gulp dev

in order to watch the source files and run jshint automatically.