Skip to content

v2.0.0

Compare
Choose a tag to compare
@ashblue ashblue released this 31 May 05:22
· 193 commits to master since this release

2.0.0 (2019-05-31)

This is a massive update with some new pre-made nodes, automated cloud deploys, Unity package support, and some namespace changes for future products. As you can image this is a breaking change and you'll want to see the "Upgrade Guide" section below before upgrading.

Special thanks to @ptrefall for his great work on Fluid HTN. Which demonstrated a good way to upgrade Fluid Behavior Tree to use extensions instead of inheritance.

Upgrade Guide

  • Namespaces: You'll need to change namespaces from Adnc.FluidBT to CleverCrow.Fluid.BTs. A simple find and replace across your project should be safe for this.
  • Extending Behavior Trees: The class inheritance system to extend behavior trees has been removed in favor of a cleaner C# extension system. Delete your old custom class wrapper and move the code inside an extension class. See here for an example.
  • Unity Package Manager is now the preferred way to include this package in your repo. If you want to just drop files in, you can grab a build from the bottom of this page. *.unitypackage files will no longer be provided. To upgrade to the package manager delete your old files, then plug this snippet into your Packages/manifest.json. Be warned you'll see some errors pop up from the above issues. So be sure to backup before you try to upgrade.

Changelog

Bug Fixes

  • travis: fixes an npm verification bug (3bbb40c)

Code Refactoring

  • namespace: namespace changed to CleverCrow.Fluid.BTs (073c1e9)

Features

  • action: new wait time node (bc49935)
  • commits: added commitizen support (916f5cb)
  • composites: new selector random node (0e13b8d)

BREAKING CHANGES

  • namespace: Will cause any project using the old namespace to break
  • behavior-tree: Will cause any project using the old behavior tree extension design pattern to break