Chapter 4. Adding the Play in the Gameplay
Now that we have our input in place, we're ready to add it in the gameplay and turn this collection of systems into a game. There are many different systems that work together to make the game interactive and playable. Not all of these are needed for all games, however, so you need to look at what your game requires and only implement what is needed.
In this chapter you will learn about the different software modules involved in making a game, and see how to implement them into the sample game that you are creating. We want to create a game where the players control their space ships, destroying enemies that fly toward them with basic Artificial Intelligence (the logic that allows the computer to appear intelligent and make decisions, often autonomously). To achieve this, we need to look at ways of structuring a game, how to manage the different objects on screen, and how to communicate between the different systems to make everything...