- Aug 04, 2022
-
-
Jerome Humbert authored
This reverts commit 87ac60b2.
-
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.
-
Jerome Humbert authored
This reverts commit 6a871576.
-
- Aug 03, 2022
-
-
Alex Saveau authored
Remove `TweeningType` and split its functionalities between a new `RepeatCount` controlling the number of repeats of an animation on one hand, and `RepeatStrategy` controlling the way an animation restarts after a loop ended on the other hand. This allows more granular control on the type of playback. Remove the `tweening_type` parameter from `Tween<T>::new()` and replace it with builder methods `with_repeat_count()` and `with_repeat_strategy()`. Remove `is_looping()` from all tweenables, which was not implemented for most of them anyway.
-
- Jul 10, 2022
-
-
Alex Saveau authored
Signed-off-by:
Alex Saveau <saveau.alexandre@gmail.com>
-
- Jun 14, 2022
-
-
Alex Saveau authored
-
- Jun 01, 2022
-
-
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.
-
- May 31, 2022
-
-
Alex Saveau authored
-
- Apr 23, 2022
-
-
Jerome Humbert authored
Upgrade the version of `bevy-inspector-egui` to `0.10` for Bevy v0.7 compatibility, otherwise the examples were building with Bevy v0.6. Fix the examples which now build correctly with Bevy v0.7.
-
- Mar 05, 2022
-
-
Jerome Humbert authored
-
- Feb 16, 2022
-
-
Jerome Humbert authored
- Add `TweenCompleted::user_data` to help identify the tween which raised the event. - Improved several docs. - Update CHANGELOG. - Update README with mention of events and callbacks.
-
Jerome Humbert authored
Add a mechanism to `Tween<T>` to raise a Bevy event once the tween completed. The event raising can be enabled with `set_completed_event()` and `with_completed_event()`. The `TweenCompleted` event contains the `Entity` on which the `Animator<T>` or `AssetAnimator<T>` owning the tween are attached. Update the `sequence` example to show how to use that new event mechanism.
-
- Feb 12, 2022
-
-
Jerome Humbert authored
This avoids having those predefined types, which are optional, be in the middle of the core types.
-
Jerome Humbert authored
Add a `Tweenable<T>` trait describing a generic animatable tween-like element. Expose the three types of tweenables and implement `Tweenable<T>` for them: - `Tween<T>`, a single animation - `Sequence<T>`, a sequence of consecutive animations - `Tracks<T>`, a batch of animations running in parallel Clean-up animators to hold a single top-level `Tweenable<T>` and let the user build any kind of animation hierarchy for themselves.
-
- Jan 29, 2022
-
-
Jerome Humbert authored
-
Jerome Humbert authored
Allow querying the active tween of a sequence. Use this to improve the `sequence` example with some text showing the current active tween and its progress.
-
- Jan 28, 2022
-
-
Jerome Humbert authored
- Add `Sequence<T>` for chained tweens - Add `Tracks<T>` for tracks of sequences running in parallel - Move most animation-related properties to the new `Tweens<T>` struct - Add `sequence` example
-