Releases: zkat/big-brain
0.3.5
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
0.3.3
0.3.2
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
0.3.1
0.3.0
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
andScorer
derive macros are gone, including all ofbig_brain_derive
. - Measures and Weights are gone.
big-brain
no longer exports everything from the toplevel. Usebig_brain::prelude::*
instead.
Bug Fixes
Probably.
Features
- New builder-based Thinker API!
- Composite Scorers:
FixedScore
,AllOrNothing
, andSumOfScorers
. - Composite Action:
Steps
, for sequential Action execution.