In the last chapter, you had a look at how to include some advanced techniques to create games with some complexity. In this chapter, you will incorporate some components in your project, which will complete the game. You will create a condition to end a game and learn how to stop the game and create a game over scene. Also, you will add an initial menu to the game and learn how to create transitions between the different scenes of a game. You will also learn how to take advantage of this feature to include a tutorial in the game to teach users how to play it. Finally, you will have an understanding of how to store information, such as the best scores, and load data from external files.
The topics that you will learn in this chapter are as follows:
How to end a game
How to add a main menu to the game
How to create transitions between scenes
How to develop a tutorial
How to load and save data