Introduction
This chapter explains how to implement counters for keeping track of variables such as score, coins, and lives, and how to display them through texts or through more complex things such as health bars.
We will start by creating a counter for our score and we will proceed with more complex counters.
Later, we will introduce the concept of health bars and we will also learn how to change their look, so that they are more linear or radial.
Finally, in the last three recipes, we are going to implement very special and complex health bars, which are suitable for bosses, for example.