Skip to content

Space Invaders game created using PyGame module for college welcome days.

License

Notifications You must be signed in to change notification settings

gianluisdiana/SpaceInvaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

124 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpaceInvadersDeluxePoster

Space Invaders

How to play

  • Left arrow key - Move the spaceship to the left
  • Right arrow key - Move the spaceship to the right
  • Space bar - Shoots

Set up

The main file is located in the src folder, to start the program, execute the following command:

python3 ./src/main.py

IMPORTANT: To run the game you must have installed the Python interpreter and the PyGame module, if you don't, use this link to go to the official Python website, and this one for the PyGame module.

Aditional flags:

  • Custom configuration

    If you want to use custom images, create a folder inside the custom one with the name you like, then, execute the program with the --custom flag and the name of the folder you created.
    python3 ./src/main.py --custom my_custom_folder
  • CRT effect

    In order to display the CRT effect in the screen, we must execute our main file with the --retro flag activated.
    python3 ./src/main.py --retro

Directory Structure

  .
  ├── audio          # The audio played in the game
  ├── custom         # Custom configuration folders
  │   └── example          # Contain the wished config
  ├── fonts          # The fonts used to display text
  ├── images         # All the images that will be drawed
  │   └── aliens           # The images of the enemies
  └── src            # Game implementation

References:

About

Space Invaders game created using PyGame module for college welcome days.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages