You need to sign in or sign up before continuing.
- Nov 15, 2022
-
-
Jerome Humbert authored
-
- Oct 02, 2022
-
-
Jerome Humbert authored
Clarify testing code and potential assertions message with the use of a new `assert_approx_eq!()` macro for `f32` equality check with a tolerance. The macro leverages `abs_diff_eq()` but produces a better assertion message in case of failure. It also allows skipping the tolerance parameter to use the default of `1e-5`, which is the "standard" tolerance to use for progress and other small-ish values that are expected to be equal but might be slightly off due to rounding errors. This change ignores the complications of testing for floating-point equality in a generic way, which is too complex, and instead restrict the usage to values like progress (range [0:1]) and other small position values around the origin.
-
shuo authored
-
- Sep 29, 2022
-
-
Jerome Humbert authored
Make it easy to exit an example with the ESC key by adding the built-in `bevy::window::close_on_esc()` system to all examples.
-
- Sep 27, 2022
-
-
Jerome Humbert authored
Make `Delay::new()` panic if a zero duration is passed as argument. Fix the `menu` example to skip inserting a `Sequence<Transform>` containing a zero-duration `Delay`. Bug: #41
-
- 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.
-
- 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.
-
- 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
Ensure the `TweenState::Ended` is set only for `TweeningType::Once`, which is the only one with a finite duration, so which can end. Other tweening types repeat indefinitely until stopped, so have no end.
-
Jerome Humbert authored
-