O'Reilly logo

Game Programming using Qt 5 Beginner's Guide - Second Edition by Lorenz Haas, Witold Wysota, Pavel Strakhov

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

Summary

You are now familiar with multiple methods that can be used to extend Qt Quick with your own item types. You learned to use JavaScript to create custom visual items. You also know how to use C++ classes as non-visual QML elements fully integrated with your UI. We also discussed how to handle mouse, touch, keyboard, and gamepad events in Qt Quick applications. However, so far, despite us talking about "fluid" and "dynamic" interfaces, you haven't seen much of them. Do not worry; in the next chapter, we will focus on animations in Qt Quick as well as fancy graphics and applying what you learned in this chapter for creating nice-looking and interesting games. So, read on!

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