Skip to content
Snippets Groups Projects
  • Jerome Humbert's avatar
    Upgrade to Bevy 0.8 · 0b69cdb6
    Jerome Humbert authored
    Upgrade to the latest released version 0.8.0 of Bevy.
    
    Add a new `bevy_asset` feature to enable animation of Bevy assets
    (types implementing the `Asset` trait). Bevy 0.8 does not contain
    `bevy_asset` in its defaul features, so this new feature reflects that
    new possibility to build Bevy and í½ƒ Bevy Tweening without support
    for the `bevy_asset` crate. The new feature is enabled by default for
    discoverability and to prevent a behavior breaking change.
    0b69cdb6
CHANGELOG.md 7.30 KiB

Changelog

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • Added is_forward() and is_backward() convenience helpers to TweeningDirection.
  • Added Tween::set_direction() and Tween::with_direction() which allow configuring the playback direction of a tween, allowing to play it backward from end to start.
  • Added support for dynamically changing an animation's speed with Animator::set_speed.
  • Added AnimationSystem label to tweening tick systems.
  • Added a BoxedTweenable trait to make working with Box<dyn Tweenable + ...> easier.

Changed

  • Compatible with Bevy 0.8
  • Double boxing in Sequence and Tracks was fixed. As a result, any custom tweenables should implement From for BoxedTweenable to make those APIs easier to use.

[0.4.0] - 2022-04-16

Changed

  • Compatible with Bevy 0.7
  • Better dependencies: Introduced features bevy_sprite and bevy_ui taking a dependency on the same-named crates of Bevy, and removed the forced dependency on bevy/render. The new features are enabled by default, for discoverability, and only impact the prebuilt lenses. The library now builds without any Bevy optional feature.