Skip to content

Latest commit

 

History

History
executable file
·
58 lines (44 loc) · 1.64 KB

File metadata and controls

executable file
·
58 lines (44 loc) · 1.64 KB

spaceBattleGame

Here's a topdown shooter game that I made with pygame for Python3.

Space battle gameplay

Features

  • Destroy as many enemy spaceships without getting destroyed yourself! 💯
  • Collect health, shield, and damage crates to survive longer! ❤️
  • Don't collide with the other spaceships! Lookup for the massive UFO 👾
  • Beat your friend's highscores! 🏆
  • Game gets harder as more points are accumulated

Prerequisites

  • python-3.7+
  • pygame-1.9.4 for python-3.7

Depedancy Installation

pip install pygame

How to run the game

python .\spaceBattleGame.py

Settings

Key Description Default
framerate Game frame rate in frames per second (fps) 60
fullscreen Whether to run the game in fullscreen true
resolutionx Screen width in pixels 640
resolutiony Screen height in pixels 480
sound on/off volume (planned feature) true

Instructions

  • WASD controls
  • Spacebar to shoot
  • Left and right arrows to rotate

Instructions Instructions screen and high score

Planned Features

  • Adjust sound level
  • Joystick input

Known Issues

  • Low FPS when running windows mode on Retina displays
  • abort trap 6 in OSX 10.15.2

Thanks

Kenney for their sprites and sounds

bxfr for their sound generator

FreeMusicArchive for the theme