Building the game environment
Next, we will create the GameObjects needed to establish our play area. Our player will be standing still, so our level design can be very simple. It will consist of a few walls, a ground plane, some spawn points for our shambling undead, and eventually a moody skydome. We'll start by creating a container to hold the physical boundaries of the space.
Constructing gameplay boundaries
In the game, our player will battle for their life from a stationary position. The scene is a typical unrealistic Hollywood back alley, which sits at the junction of three pathways. Every few seconds, a zombie will be spawned in one of the pathways and the creature will then move toward the player.
We need to create an environment that facilitates the zombie action while also focusing the player's attention on the task at hand. In the following steps, we will construct the scene elements needed to facilitate our gameplay. A ground plane and several cubes will be used to define boundaries...