In this chapter, we will discuss how to create player stats and alter it through power-up items. We will also discuss how to create a more advanced enemy AI that is able to patrol randomly in the game level, as well as how to create save points that can be used by the players to save their game progression.
In this chapter, we will cover the following:
Creating character attributes
Adding in-game items and power-ups
Improving enemy AI
Adding save points