Skip to content

Sharpsharky/Space_Invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Space Invaders

The project represents a clone of a well-known game Space Invaders.

The game starts with a loading screen, in the main menu, we can proceed to the start game and the high score page. The high score page contains the 10 last saved highest scores.

In the beginning, the enemies slide towards the middle of the screen and move horizontally. Every time they touch the wall, they move in the opposite direction and down a little bit. The player dies if he loses all his lives. We acquire score points every time we destroy an enemy. The game is an infinite loop and a new wave appears when a player kills all the space ships on the screen. Moreover, shields in form of rocks appear just above the player which guard the player from enemies' projectiles.

Features

  • Dependency Injection (examples in classes: PlayerHealth, Enemy - but there are a lot of them in the project),
  • Obsever Pattern (examples in classes: Enemy - EnemyWaveMovement, CheckEnemy - WaveManager),
  • Inheritance (example: ScorableEntety, Enemy, UfoHealth),
  • Interfaces (example: IDemageble, IGameObjectPooled),
  • Config files (Scriptable Objects) (examples in classes: ShipSettings, ProjectileConfig),
  • Object Pooling (class: GameObjectPool),
  • Serialized saving system (class: SaveSystem),
  • Scalable canvas.

Additional Resources

Dynamic Space Background Lite by DinV Studio Rock package by shui861wy Simple UFO 3D Model by iphacker786

About

Advanced Space Invaders

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published