Animation framework in Qt Quick

In Chapter 11, Introduction to Qt Quick, we implemented a simple animation using Qt Quick states and transitions. We will now deepen our knowledge on this topic and learn how to add some dynamics into the user interfaces we create. Thus far, books cannot contain moving pictures, so you will have to test most things we describe here yourself by running the provided Qt Quick code.

Qt Quick provides a very extensive framework for creating animations. By that, we don't mean only moving items around. We define an animation as changing an arbitrary value over time. So, what can we animate? Of course, we can animate item geometry. However, we can also animate rotation, scale, other numeric values, and even colors, ...

Get Game Programming using Qt 5 Beginner's Guide - Second Edition 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.