This project is a basic Space Invaders game. It is not your usual space invaders, but, there are aliens coming down at increasingly difficult speeds. This was my first project using a library actually used to make games.
The game does not have a start menu or a proper ending. It does have a scoring system for each hit, there are also some effect and a background theme song.
Here are some of the features of the project:
- Colourful Background
- 1 Type of Enemy Spaceship
- 1 Type of Player Spaceship
- Theme Song
- Laser Beam effect
- Explosion/Collision effect
- Scoring/Point system
- Collision Checking
- Game Over Checking
This project was made with:
- PyGame
- PyGame.mixer
Requirements and details on how to get the game running
Requirements:
- Python3.6+
Download Python3.8.6:https://www.python.org/downloads/release/python-386/
- pip3
- PyGame
For Python3.6 - 3.7:pip3 install pygame
For Python3.8:pip3 install pygame==2.0.0.dev6
Other Requirements:
- Warnings (Module)
- PyGame.mixer (in PyGame)
- Random (Module)
- Math (Module)
- Time (Module)
- Make sure you have correctly completed the Prerequisites.
- Clone the repository
git clone https://github.com/RealKevinApetrei/Space-Invaders/
Information on how to use the game itself.
- Movement and Action:
- Move Left: Left Arrow Key or A
- Move Right: Right Arrow Key or D
- Fire Laser: Space Bar
The game ends when an alien gets too far down at a certain point.
You earn points for each alien destroyed. Game difficulty increases for each row they pass.
(There is no documentation available.)
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the GPL-3.0 License. See LICENSE
for more information.
Kevin Apetrei - @KevinApetrei - realkevinapetrei@gmail.com
Project Link: https://github.com/RealKevinApetrei/Space-Invaders
- Video Used
- Icon made by 'Freepik' on 'https://www.flaticon.com/'.
- EDITED Background made by 'https://www.freepik.com/'.
- Player made by 'Freepik' on 'https://www.flaticon.com/'.
- Enemy made by 'Good Ware' on 'https://www.flaticon.com/'.
- Bullet made by 'Good Ware' on 'https://www.flaticon.com/'.