3
Building the Core Game Framework
This chapter will give context to the design decisions made in the core framework as well as providing a good base for understanding how the individual code recipes work together and why they may sometimes have dependencies on other Components.
The framework for this book (as seen in Figure 3.1) features six main areas:
-
Game Manager
The Game Manager acts like a central communication script for all parts of the game and oversees game state.
-
Players
Players may already be present in the game scene or instantiated by the Game Manager. The players structure will be explored later in Chapter 4 of this book.
-
AI and enemies
As with players, AI controlled characters, or enemies may already be present in the ...