Space Shooters is inspired from 'Space Invaders' built in 1978.
The player controls a spaceship and moves it around the game window using the keyboard arrow keys. The objective of the game is to destroy as many enemy spaceships as possible while avoiding their attacks. The player can fire bullets to destroy the enemy spaceships by pressing the spacebar.
The game starts with a welcome screen displaying the game title and a play button. The player can start the game by clicking the play button. Once the game begins, enemies appear at random positions on the top of the game window and move downwards. The player must move their spaceship and fire bullets to destroy the enemies. If an enemy collides with the player's spaceship, the player loses a life. The game ends when the player loses all their lives.
The game also features a scoring system that increases every time an enemy spaceship is destroyed. The game window displays the player's remaining lives and their score. The Space Shooters game is built using the Pygame library, which is a set of Python modules designed for writing video games. The game uses various Pygame modules to implement graphics, sounds, and user input. The game has two main loops: the start screen loop and the main game loop. The start screen loop handles the display of the game title and the start button. It waits for the player to click the start button before transitioning to the main game loop. The main game loop handles the game's mechanics, such as moving the player's ship, firing bullets, and spawning enemies. It also checks for collisions between the player, bullets, and enemies. The game keeps track of the player's score and lives, and it ends the game when the player loses all of their lives. The most challenging part was to built a game in Python with no bugs and player should be able to control his spaceship successfully. Achievement is that built our first ever game using pygame Developed technical and creative skills, including programming, game design, graphics design, and sound design
Increasing difficulty of game and make it more interactive.
Log in or sign up for Devpost to join the conversation.