Universal Tween Engine v5.2

Nov 5, 2011 by     5 Comments    Posted under: Libraries, Universal Tween Engine

Hi there people, back from a long time without any news!

I’ve been quite overwhelmed by my job these last weeks, so did not have time to work on anything else. However, I managed to bring you something new: a new revision of the tween engine (and yet no level editor, this one will have to wait a bit more…).

This revision is important: it brings speed control to your animations. And by that, I mean that you can easily use slow-motion, fast-motion, and even make the whole animation go backwards!

Indeed, speed control can be triggered on single Tweens (using setSpeed(float) method), but also on the whole TweenManager, so your sequences can now be controlled in real-time.

Other than that, I also added something that was needed by many libgdx users: delta times instead of system times to control the tweens updates (that’s what made possible the speed control actually).

Grab it herehttp://code.google.com/p/java-universal-tween-engine/

Direct links: API / Demo

Full changelog:

  • + made tween objects use delta times instead of system time. You should now have a more precise control over tweens.
  • + added speed control! You can now use slow-motion/fast-motion and even make a complete animation sequence go backwards! Enjoy ;)
  • + added Tween.mark() to static factories: lets you easily place beacons for callbacks in your sequences.
  • + added some “ensureCapacity()” methods for every static object used, like pools.
  • * reduced the memory footprint of each tween object
  • * updated the demos (Swing demo should be more fun)

5 Comments + Add Comment

  • sounds great, thanks a bunch

  • Génial.

    Bravo :)

  • Thanks guys.

    I just released a 5.2.1 hotfix. Something wrong could happen if one needed to rewind an animation sequence with no repeat factor. The direct links mentioned in this post have been updated. Sorry for the inconvenience :-)

  • I blog often and I genuinely appreciate your information.
    The article has truly peaked my interest. I’m going to
    book mark your blog and keep checking for new details about once a week.
    I opted in for your Feed as well.

  • These days the net technologies supply us using a very specific possibility to select what exactly 1 requires

Got anything to say? Go ahead and leave a comment!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>