We implemented the horizontal movement using a QTimer. Now, let's try a second way to animate items—the Animation framework.
Property animations
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.