Skip to content

Releases: zkat/big-brain

0.3.5

26 Apr 05:48
0d69973
Compare
Choose a tag to compare

Previously, if a Picker re-picked the same action, and that action had been
set to Success or Failure, it would just keep running the action in that
state until it was time to switch to a different one.

With this version, that behavior is changed, and Failure and Success
actions that are re-picked will be respawned entirely (not even reused).

Cheers to @piedoomy on Discord for pointing out
this weird behavior!

Bug Fixes

  • thinker: launch a new action when the current action is in an end state (80d23f2f)

0.3.4

26 Apr 05:48
58b299f
Compare
Choose a tag to compare

Welp. Turns out Thinkers were completely broken? This should work better :)

Bug Fixes

  • prelude: Export ThinkerBuilder from prelude (06cc03e1)
  • thinker:
    • disposed of ActiveThinker and circular state-setting (7f8ed12b)
    • Need to do proper ptr_eq comparison here (037a7c0d)

0.3.3

26 Apr 05:49
d3e7b39
Compare
Choose a tag to compare

This fixes an issue with more children being added to an Actor causing Thinkers to get clobbered in really annoying ways.

Bug Fixes

  • thinker: stop using the child/parent system for toplevel thinkers (db16e2f6)

0.3.2

26 Apr 05:49
440aff7
Compare
Choose a tag to compare

This is a quick bugfix. Shoutout to @ndarilek
for finding this one and giving me a chance to debug it!

tl;dr: Bevy's hierarchy system requires that all children have Transform
and GlobalTransform also attached, otherwise it just... kills them.

Bug Fixes

  • scorer: stop attaching duplicate scorers (10a6d022)
  • thinker: add Transform and GlobalTransform (ed3a7cb3)

0.3.1

26 Apr 05:49
050d1cc
Compare
Choose a tag to compare

Just a quick release because I broke docs.rs :)

Bug Fixes

  • build: remove .cargo/config.toml to make docs.rs happy (393d9807)

0.3.0

14 Apr 02:37
0d7e84e
Compare
Choose a tag to compare

This is a major overhaul of the Bevy API. It removes .ron support
altogether, in favor of plain old Rust builders.

Breaking Changes

  • The .ron Thinker definition API is gone. Use the ThinkerBuilder API instead.
  • The Action and Scorer derive macros are gone, including all of big_brain_derive.
  • Measures and Weights are gone.
  • big-brain no longer exports everything from the toplevel. Use big_brain::prelude::* instead.

Bug Fixes

Probably.

Features

  • New builder-based Thinker API!
  • Composite Scorers: FixedScore, AllOrNothing, and SumOfScorers.
  • Composite Action: Steps, for sequential Action execution.

v0.1.1

11 Jul 02:51
47850ab
Compare
Choose a tag to compare
Create FUNDING.yml