Skip to content
Snippets Groups Projects
  1. Oct 01, 2022
    • Jerome Humbert's avatar
      Add more tests (#65) · eeec3713
      Jerome Humbert authored
      Add some tests to fill gaps for:
      - `UiPositionLens`
      - `Animator::set_tweenable()` and `AssetAnimator::set_tweenable()`
      - `Sequence::from_single()`
      - `Delay`'s `then()`, `times_completed()`, and `set_progress()`
      eeec3713
  2. Sep 28, 2022
    • Jerome Humbert's avatar
      Fix repeat mode broken after first iteration (#57) · 175c8b74
      Jerome Humbert authored
      Fix the repeat mode being broken after the first iteration due to
      `AnimClock::progress()` reporting a progress greater than `1.`, which was
      breaking the logic of `Tween` and `Lens`.
      
      Also fix `Tween::rewind()` not restoring the original tween direction when
      using a repeat strategy of `RepeatStrategy::MirroredRepeat`.
      
      Fixes #42
      175c8b74
  3. Sep 27, 2022
  4. Aug 04, 2022
  5. Aug 03, 2022
    • Jerome Humbert's avatar
      Fix build (#40) · 722b62ec
      Jerome Humbert authored
      722b62ec
    • Gyrobifastigium's avatar
    • 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
  6. Jul 10, 2022
  7. Jun 14, 2022
  8. Jun 01, 2022
  9. May 31, 2022
  10. May 17, 2022
  11. May 07, 2022
  12. Apr 24, 2022
  13. Apr 16, 2022
  14. Mar 05, 2022
  15. Feb 24, 2022
  16. 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
    • Jerome Humbert's avatar
      Add `TweenCompleted` event · e31e76dc
      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.
      e31e76dc
  17. Feb 14, 2022
  18. 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
  19. Feb 12, 2022
  20. Jan 29, 2022
  21. Jan 28, 2022
  22. Jan 27, 2022
Loading