Skip to content
Snippets Groups Projects
  1. Aug 04, 2022
    • Jerome Humbert's avatar
      v0.5.0 · 244ec9d0
      Jerome Humbert authored
      244ec9d0
    • 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
    • Jerome Humbert's avatar
      Revert "Support running an animation N times (#19)" · 87ac60b2
      Jerome Humbert authored
      This reverts commit 6a871576.
      87ac60b2
  2. Aug 03, 2022
    • Alex Saveau's avatar
      Support running an animation N times (#19) · 6a871576
      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.
      6a871576
  3. Jun 01, 2022
  4. May 17, 2022
  5. May 14, 2022
    • Alex Saveau's avatar
      Add speed modifier (#22) · 454bcd00
      Alex Saveau authored
      It needs to be built-in because otherwise you have to completely recreate the animation to change the speed.
      454bcd00
  6. Apr 24, 2022
  7. Apr 16, 2022
  8. Mar 19, 2022
    • Jerome Humbert's avatar
      Tighter dependencies with features (#9) · 6619f067
      Jerome Humbert authored
      Enable minimal dependencies with new features `bevu_sprite` and
      `bevy_ui`, removing the `bevy/render` mandatory dependency. Those new
      features are enabled by default, and enable the built-in lenses for the
      related Bevy crates. The core `bevy_tweening` crate itself does not take
      any optional Bevy dependency anymore, allowing for a slim build with
      only the core Bevy functionalities.
      6619f067
  9. Mar 05, 2022
  10. Feb 24, 2022
  11. Feb 21, 2022
    • Jerome Humbert's avatar
      Fix bug with color lenses · 60a9a8a7
      Jerome Humbert authored
      Fix some bug lerp'ing colored lenses (`TextColorLens`,
      `SpriteColorLens`, `ColorMaterialColorLens`) where the alpha value would
      be too high. This only affects non-opaque colors, in that for opaque
      blending the resulting alpha was `3.0` which was interpreted as opaque.
      60a9a8a7
  12. Feb 16, 2022
    • Jerome Humbert's avatar
      Add event `user_data` and improve docs · 8dcd3d27
      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.
      8dcd3d27
  13. Feb 15, 2022
  14. Feb 13, 2022
    • Jerome Humbert's avatar
      Clarify and increase control on playback state · 38e99394
      Jerome Humbert authored
      Add some new methods and refactor some existing ones to clarify the
      playback state of a tweenable, and give increased control to the
      `Animator` or `AssetAnimator` to rewind a tweenable, set its progress to
      an arbitrary value, or query its current state.
      38e99394
  15. Feb 12, 2022
    • Jerome Humbert's avatar
      Bump version to 0.3.1 · 0b595c41
      Jerome Humbert authored
      0b595c41
    • Jerome Humbert's avatar
      Add `Delay` and the menu example · 4b138ffb
      Jerome Humbert authored
      4b138ffb
    • Jerome Humbert's avatar
      `Tweenable`-based design · d3b5f1be
      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.
      d3b5f1be
  16. Jan 29, 2022
  17. Jan 28, 2022
  18. Jan 27, 2022
Loading