Gameplay
The game will start with the player in the center of the game world. The Hero, controlled by the player, will need to defend the Base from the Enemies. To fend off the Enemies, the Hero will have a starting number of bullets. The goal is to defeat all the Enemies before the Base is completely destroyed by them.
Let's look at how we will make all this happen. The following gameplay components are covered in this section:
- Game-world layout
- Starting condition
- Ending condition
- Point system
- Heads-up display (HUD)
We will cover each of the preceding components and discuss how they change the game experience. Let's start by talking about how the game world will be designed.
Game-world layout
We will create our base environment, which consists of large metallic floor tiles, walls, doors where the enemies will be spawning, and our base building at the bottom part of the screen, where the enemies need to reach to start attacking...