Universal Tween Engine enables the interpolation of every attribute from any object in any Java project (being Swing, SWT, OpenGL or even Console-based).
With its assistance, you can implement the TweenAccessor interface, register it to the engine, and animate anything you want!
Here are some key features of "Universal Tween Engine":
· Can be used with any object. You just have to implement the TweenAccessor interface when you want interpolation capacities
· Every attribute can be interpolated. The only requirement is that what you want to interpolate can be represented as a float number
· One line is sufficient to create and start a simple interpolation
· Delays can be specified, to trigger the interpolation only after some time
· Many callbacks can be specified (when tweens complete, start, end, etc.)
· Tweens and Timelines are pooled by default. If enabled, there won't be any object allocation during runtime! You can safely use it in Android game development without fearing the garbage collector
· Tweens can be sequenced when used in Timelines
· Tweens can act on more than one value at a time, so a single tween can change the whole position (X and Y) of a sprite for instance
· Tweens and Timelines can be repeated, with a yoyo style option
· Simple timers can be built with Tween.call()
· Source code extensively documented
Requirements:
· Java
What's New in This Release: [ read full changelog ]
· Added a lot more precision to timings by changing ints to floats
· Added paths for tweens through the 'waypoint()' method, no more linear transitions
· Added bezier paths (this is the default if you use waypoints)
· Added TweenPaths static collection for paths implementations
· Added TweenEquations static collection for easing equations
· Added delay() to timelines too
· Added a completely new demo to promote the engine
· Improved performances by removing a lot of useless computations
· Greatly reduced the memory footprint of each tween object
· Object pooling is not enforced everywhere
· [api break] Callback registration was changed to reduce memory footprint
· Fixed a few potential bugs with kill() method and with timelines