Skip to content

A recreation of Space Invaders in C++ for the functionality and SFML for graphics and audio.

Notifications You must be signed in to change notification settings

LegatAbyssWalker/SpaceInvaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpaceInvaders

  • A recreation of Space Invaders in C++/SFML.
  • Recreated by David A.K.A. LegatAbyssWalker

Dependancies

  • SFML Version 2.5.0 or higher!
  • C++17 with a supporting compiler!

Current Version

  • Version 1.3

New Information on Current Version

  • Finally uses an InvaderManager class to manage the Invader and InvaderBullet classes!
  • New collision detection system!
  • UFO movemnet is no longer based off of timings but simple logic.
  • UFO appearances random timings with the Random.h and chrono header files!
  • Better shield positioning.
  • Used more std::unique_ptr<...> for classes.
  • New animation system! NOT USED IN THE GAME
  • Renamed res/sounds/background/... background names (switch 0 and 1).
  • Invader and Shield classes are now deleted once collided with!
  • Removed the ToggleKey class.
  • Added an Entity class to store any entity data.
  • Uses an enum class to determine InvaderType.
  • Invaders now shoot multiple bullet once the amount of invaders are less than 20.
  • Multiple invader bullets!
  • Changed the PlaySound class to a simple Sound class.
  • Deleted and replicated unnecessary code.
  • Added collision with PlayerBullet to InvaderBullet.
  • Replaced int keyword with size_t.

Warnings

  • I have little-to-none experience in CMake, so unfortuntely my files cannot be in folders. Also, the CMake.txt file might not work correctly because, again, I have little-to-none experience in CMake.

Bugs

  • PlayerBullet sometimes shoots twice for no reason.

Credits

Media

About

A recreation of Space Invaders in C++ for the functionality and SFML for graphics and audio.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published