Skip to content

A Space Invaders remake using SDL and C++ done in one week.

License

Notifications You must be signed in to change notification settings

JoanStinson/SpaceInvaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Invaders

A Space Invaders remake using SDL and C++ done in one week.

Made With SDL License Last Commit Repo Size Downloads Last Release

Installation

  1. Unzip "SpaceInvaders.zip".
  2. Execute "SpaceInvaders/Space Invaders.exe" and enjoy!

Usage

  • Move: Arrow Keys
  • Shoot: Spacebar
  • Exit: Escape

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Basic Features

Player (Spaceship):

  • Player can move on the screen (using arrows keys)
  • Player can shoot projectiles (using spacebar)

Enemies:

  • Enemies move towards the spaceship.
  • Enemies have life points (e.g 3, up to you to decide).
  • Enemies may shoot as well.

Implement Obstacles (Rocks):

  • They are static objects in the level.
  • They have life points (up to you to decide).
  • They can be hit by the player’s projectiles.
  • They CAN NOT be hit by enemies while moving.
  • They CAN NOT be hit by enemies’ projectiles.

Player Projectile:

  • It is shot from Spaceship.
  • It can hit Obstacles.
  • It can hit Enemies

Enemy Projectile:

  • It is shot from Enemy.
  • It can only hit the player.

Basic UI:

  • Score
  • Hi-Score from the past rounds.

Credits

Author: Joan Ginard Mateo

License

MIT LICENSE