Here, we will go through the process of creating a platform game using Qt Quick. It will be a game similar to Benjamin the Elephant from Chapter 6, Qt Core Essentials. The player will control a character that will be walking through the landscape and collecting coins. The coins will be randomly appearing in the world. The character can access highly placed coins by jumping.
Throughout this chapter as well as the previous one, we prepared a number of pieces that we will be reusing for this game. The layered scene that was arranged when you learned about animations will serve as our game scene. The animated sun will represent the passing of time.
We will guide you through implementing the main features of the game. At the end of the chapter, you will have a chance to test your skills by adding more game mechanics to our project.