-
Alex Saveau authored
Fix double-boxing by removing the `IntoBoxDynTweenable` trait and the impl of `Tweenable<T>` for `Box<dyn Tweenable>`, and instead using some `From` conversion implemented per concrete type.
CHANGELOG.md 7.24 KiB
Changelog
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
Added
- Add
is_forward()
andis_backward()
convenience helpers toTweeningDirection
. - Add
Tween::set_direction()
andTween::with_direction()
which allow configuring the playback direction of a tween, allowing to play it backward from end to start. - Support dynamically changing an animation's speed with
Animator::set_speed
- Add
AnimationSystem
label to tweening tick systems - A
BoxedTweenable
type to make working withBox<dyn Tweenable + ...>
easier
Changed
- Double boxing in
Sequence
andTracks
was fixed. As a result, any custom tweenables should implementFrom
forBoxedTweenable
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
andbevy_ui
taking a dependency on the same-named crates of Bevy, and removed the forced dependency onbevy/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.