In the previous chapter, we discussed about adding multiple levels in our game; adding multiple levels in a game is a normal functionality in most games. We also added the functionality to show the current level of the game by using a level label. Apart from this, we added a pause button and the button to access the node menu scene from the main menu.
This chapter is one of the most essential chapters in this book; here we are going to discuss about performance enhancement tips and tricks. Apart from this, we are going to add some really important features in our game. These features are:
The scoring system
The sound
The running animation of the player
Sound is an essential part of a game; it greatly enhances the overall gameplay experience for the player. The scoring system helps the player to measure his or her performance over time. Running texture produces a good animation effect in the game, which increases the gameplay experience a lot. We are...