Skip to content

Dionst-cod/Pygame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SHOOT OR DIE

Shoot or Die is an arcade-style 2D shooter game developed using Pygame. In this game, you control a plane to avoid enemy missiles and shoot them down before they hit you. Your health decreases if you are hit by enemies, and your goal is to survive as long as possible.

GAMEPLAY

The game starts with a menu screen. Press SPACE to start the game. Control a plane that shoots bullets to destroy incoming enemy missiles. The game features a health bar, and each time an enemy hits your plane, you lose health. The game ends when your health reaches zero, at which point you return to the start menu.

CONTROLS

W: Move the plane up. S: Move the plane down. SPACE: Shoot bullets. ESC: Quit the game.

ASSESTS

  • Images:

  • plane.png: The player's plane.

  • missile.png: Enemy missiles.

  • bullets.png: The bullets fired by the player's plane.

  • background2.jpeg: The main game background.

  • explosion.jpeg: The sprite sheet used for explosions.

  • startmenu_background.png: The start menu background.

Sounds:

  • startmenu_sound.mp3: Background music for the start menu.
  • shootsound.mp3: The sound of bullets being fired.

SOUND EFFECTS

The game features background music in the start menu and sound effects when bullets are fired. Ensure that the sounds folder is correctly placed in the project directory.

LICENCE

This project is open source. Feel free to modify and share it as you like!

NOTES:

Make sure the assets (images and sounds) are stored in the respective folders (images/ and sounds/) as the game loads them dynamically. The health bar is displayed on the top-left of the screen and decreases as your plane gets hit. The game has a simple wave-based enemy spawn system, increasing the challenge over time. Enjoy the game!

About

Shoot or Die pygame

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages