Nikolay Dimitrov
Galaxy Destroyer
Easy Level
Levels
There are three levels to the game:
-
The first is the easy level, which includes three types of enemies - one bigger and slower, one faster and one normal.
-
The second - hard level is much harder. There is less time for completion, enemies spawn faster, and there is also one more type of enemy, which is tougher than the previous. There are also two power-ups - speed (blue) and shield (yellow).
-
The third and final level is actually not mandatory. It is the High Score Level, which is with the same characteristics as the hard level, just without the timer.

Hard Level

High Score Level

Enemies
There are four types of enemies:
-
The orange enemy is the normal enemy. It does not do anything special, except shooting. It has low health and its laser is the least powerful.
-
The blue enemy is the fastest and weakest, but it does not shoot like the rest.
-
The purple enemy is bigger, slower and harder to kill, due to its higher health. Its laser also does more damage than the others.
-
The green enemy, which is the only one that cannot be found in the first level is probably the strongest overall. It moves from side to side and also down, which makes it really hard to kill. Its laser is also a bit faster and does significant damage.


Power-ups
There are two types of power-ups, which appear in the hard and high score level:
-
The first type is the shield (yellow) power-up. It protects the player from one physical attack. When its activated, around the player appears a circle with a rainbow patern and when something detonates it, it disappears.
- The second type is the speed (blue) power-up. It gives the player bonus speed for 5 seconds.
UI - Main Menu
.png)
UI - Death

UI
There are two types of UI canvases - one showing the timer, health and score and one which is only for the High Score Level, which does not show the timer. There are also four types of UI Menus.
-
The first is the one of the Main Menu, where the player can choose to either start the game from the first level, to play for high score or to quit the game.
- The second is when the player wins one of the two winable levels. It has two options - to advance to the next level (or the high score level, if the person wins the hard level) or to go back to the Main Menu.
- The third UI menu is if the player loses, by diyng. It again has two options - to restart the level or to go back to the Main Menu.
- The forth UI menu is if the player loses, by running out of time. This menu has the same options as the other loss menu.
UI - Level win

UI - No Time

Spawner
.png)
UI
.png)
Codes
The codes I used for this game vary from Switch Statements and Coroutines to Custom Methods. Here are some of the codes for the more interesting features of the game, like the spanwing code, the codes for the power-ups, some of the UI elements and the green enemy:
Shield Power-up
.png)
.png)
Speed Power-up
Power-ups
.png)
Green Enemy
.png)