O'Reilly logo

Libgdx Cross-platform Game Development Cookbook by Alberto Cejas Sánchez, David Saltares Márquez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Smooth animations with Universal Tween Engine

Animations contribute to a more dynamic feel for the user so he or she stays engaged. In real life, movement hardly ever follows a linear function because there are a lot of external and internal factors that distort it. This is where other types of more complex interpolations come into scene, generating smooth effects, closer to reality.

It is not strange if this sounds familiar to you as we talked about animations. We talked about animations, interpolations, and so on in Chapter 8, User Interfaces with Scene2D. The difference between this and what you are about to learn is implicitly included in the definition that the author himself, Aurelien Ribon, gives for the Universal Tween Engine library:

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required