Skip to content

Releases: Kruger0/Tweeny

Release list

v2.0.0

Choose a tag to compare

@Kruger0 Kruger0 released this 12 Aug 02:04

This release brings some polish, small bug fixes and cool new additions for Tweeny!

  • Add support for easing functions!
  • Add a set of 52 Robert Penne's mathematical easing functions
  • Add TweenyDrawEase() function to render easing curves
  • Moved animation curves to its own optional folder
  • Vastly improved JSDocs and fixed some minor spelling errors
  • Changed SetLoops() behavior. Now every tween has a single loop by default. Having 0 loops means infinity loops
  • Removed source arg.
  • Add Bind(ref) method that allows the tween element to keeo track of its parent instance/struct
  • Add Await() method that only advances a step once its signal returns true
  • Fixed events not triggering on Skip() calls
  • Event callbacks now can receive the current step index as an argument
  • Event callbacks now works as a single function declaration, instead of the previous queue implementation
  • All args for event callbacks must be contained inside an array
  • Add TweenyGet() that searches the internal cache for a tween element using an uid string
  • Add uid optional arg on Tweeny() creation
  • Add Finish() method that terminates all steps and loops for the tween element
  • Changed Skip() method to only skips the current step instead of the whole loop
  • *All() related functiosn now affects the tween elements themselves instead of the time source
  • And some other small fixes :)

v1.0.0

Choose a tag to compare

@Kruger0 Kruger0 released this 15 Jul 20:13
feat: improved demo