Universal Tween Engine v5.2
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 here: http://code.google.com/p/java-universal-tween-engine/
- + 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)