October 2022
Intermediate to advanced
712 pages
17h 1m
English
Now that we have a basic gameplay experience, it’s time to make the game end with the outcomes of winning or losing. One common way to implement this is through separated components with the responsibility of overseeing a set of objects to detect certain situations that need to happen, such as the player life becoming 0 or all of the waves being cleared. We will implement this through the concept of managers, components that will manage and monitor several objects.
In this chapter, we will examine the following manager concepts:
With this knowledge, you will be able to not only create the victory and lose conditions of the game, but also ...
Read now
Unlock full access