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 ...

Get Learning Libgdx Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.