Skip to content
Snippets Groups Projects
  1. Oct 02, 2022
  2. 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
    • Jerome Humbert's avatar
      Fix animator speed feature (#63) · 4c2f49da
      Jerome Humbert authored
      Fix the animator speed applying, which got broken as part of the
      refactor of #44.
      
      Add a `speed()` getter to both `Animator<T>` and `AssetAnimator<T>`.
      
      Add some simple test for speed, but this is not enough to make sure the
      feature doesn't regress, so logged #62 to follow-up with a proper
      regression test.
      
      Fixes #61
      4c2f49da
  3. Sep 29, 2022
  4. 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
  5. Sep 27, 2022
  6. Sep 21, 2022
  7. Aug 12, 2022
  8. Aug 06, 2022
  9. Aug 04, 2022
  10. 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
  11. Jul 10, 2022
  12. Jun 14, 2022
  13. Jun 01, 2022
  14. May 31, 2022
  15. May 17, 2022
  16. 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
  17. May 07, 2022
  18. Apr 24, 2022
  19. Apr 23, 2022
  20. Apr 16, 2022
  21. Mar 19, 2022
  22. Mar 05, 2022
Loading