O'Reilly logo

Learning Libgdx Game Development by Andreas Oehlke

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

Chapter 9. Screen Transitions

In this chapter you will learn about screen transitions, a technique to create a smooth user experience, while switching from one screen to another over a certain period of time. You will be introduced to a technique known as Render to Texture (RTT) that allows easy composition of two individually rendered screens. Normally, transition effects make use of linear and nonlinear interpolation to create interesting and natural-looking results. Libgdx provides a class that implements a wide variety of common interpolation algorithms, which are suitable not only for transition effects, but also for any values that should follow a certain behavior over time.

Moreover, in Chapter 7, Menus and Options, we learned how to create ...

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