Skip to content

whuop/hxbt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hxbt

Behavior Tree implementation for Haxe.

Installation Instructions

Using haxelib ( Recommended )

hxbt hasn't yet been added as a haxelib package, but will be in the future. You can however manually add it once you have cloned the repository. To add hxbt to haxelib simple use the following command:

haxelib dev hxbt path/to/hxbt

Not using haxelib

Clone the repository or download as zip. Drag and drop src/hxbt folder to the src folder of your project.

Usage

The samples folder contains projects demonstrating how hxbt works and is a perfect place to get an idea of how the library can be used.

All samples are located in the samples folder https://github.com/whuop/hxbt/tree/master/samples/.

Note : This library's Parallel and Selector composites have two different updating alternatives: updating their logic one child per tick or doing a whole process per tick. Those alternatives are chosen with allChildrenTick at their construction.

Are you using hxbt for a project?

If you are, please let me know. I would love to see what people are creating using the library. And who knows, maybe I'll make a small showcase of games using hxbt in the future.

License

The MIT License (MIT)

Copyright (c) 2015 Kristian Brodal

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Behavior Tree implementation for Haxe.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages