Game Programming using Qt 5 Beginner's Guide
上QQ阅读APP看书,第一时间看更新

The game play

The goal of the game is for Benjamin to collect the coins that are placed all over the game field. Besides walking right and left, Benjamin can, of course, also jump. In the following screenshot, you see what this minimalistic game should look like at the end: