Galactic Onslaught ๐พ is a classic 2D space shooter game built using Python and the Pygame library. In this game, players control a spaceship to defend Earth from an invasion of alien forces. The goal is to shoot down as many aliens as possible while avoiding their attacks.
Control a spaceship that can move horizontally, responding to user input for left and right movement.
Fire bullets from the spaceship to eliminate incoming alien forces.
Encounter a fleet of alien ships that move horizontally and drop down as they reach the screen edges.
Keep track of your score as you successfully eliminate aliens. Compete for the highest score!
The game features progressive levels, becoming more challenging as you advance.
Players start with a limited number of lives (ships) and lose a life if an alien touches the ship or reaches the bottom of the screen.
Display the current score, high score, and the current level on the screen.
Restart the game after losing all lives.
Use the Left Arrow key to move the spaceship left. Use the Right Arrow key to move the spaceship right.
Press the Spacebar to fire bullets from the spaceship.
Click the "PLAY" button to start or restart the game.
This image shows the ending of the game where player has reached to the second level with a score of 5480 with no ship left.
The game is created using the Pygame library.
Inspiration from classic space shooter games.
I am grateful to having the book "PYTHON CRASH COURSE" by ERIC MATTHES which helped me doing this project from scratch till end.