Getting started - Horizon-NTH/SpaceInvaders GitHub Wiki

Getting Started with SpaceInvaders

Table of Contents

  1. Base of the game
  2. Main menu
  3. In game
  4. Death menu

Base of the game

The game is a simple 2D game where the player controls a spaceship with is mouse and can shoot bullets with the left mouse button.
The goal of the game is to survive as long as possible and get the highest score by killing the enemies.
The game is composed of an infinite number of waves, each wave is harder than the previous one.
But fortunately, the player can get power-ups to help him survive longer.
This game also has special waves where the player need to evade asteroids.
Now let's see the different menus of the game.

Main menu

Main menu of the game

The main menu is the first menu the game shows when it starts. You can see the version of the game in the top right corner. If you want to exit the game, you can click on the ESCAPE key on your keyboard. If you want to start the game, you can click on any other key on your keyboard.

You also have to button on the menu:

  • Sound effects: You can enable or disable the sound effects of the game. This means all the shots sound, explosions sound, etc.
  • Music: You can enable or disable the music of the game played in the background.

In game

Classic wave

In game screenshot

Now that you have started the game and the first wave has started, you will some enemies from the outside of the screen. They will move and shoot randomly, bounce at each other and at the walls.

To have more information about the enemies, your spaceship or the power-ups, you can look at the other pages of the wiki.

You must pay attention to the enemies and the bullets they shoot at you but also be sure to not touch the enemies or the asteroids because they will damage your spaceship.
You also have to pay attention to your own bullets because they also can damage your spaceship.

The new waves will start when you have killed all the enemies of the current wave.

Asteroids wave

Asteroids wave

The game also has a special wave where you need to evade asteroids. The asteroids will come from the top of the screen and will go to the bottom of the screen. You need to evade them by moving around the screen. The wave end when all the asteroids have left the screen.
You can see this type of wave every 10 waves.

HUD

The HUD of the game is composed of the following elements:

  • Score: Your current score, displayed in the top left corner.
  • Wave: The current wave you are in, displayed in the top right corner.
  • Health Bar: The health of your spaceship represented by a double bar at the bottom of the screen. The green part is the health of your spaceship and the blue part is the shield of your spaceship.
  • Level: The level of your spaceship, displayed in the bottom left corner. There is a maximum of 3 levels. And each level upgrade the power of your spaceship.
  • Reload Bar: The reload of your spaceship, displayed in the bottom right corner. When the bar is full, you can shoot a bullet. ⚠️ The reload time differs in function of the type and level of your spaceship, and they also have a maximum amount of shots allowed on the screen.

Death menu

Death menu

When you die, the game shows you the death menu. You can see your score, and the wave you died in. You will now have the choice between three options:

  • Restart: Restart the game from the first wave.
  • Main menu: Go back to the main menu.
  • Exit: Exit the game.

That's all for the game, now you can start playing and have fun! 🚀