/PySpaceInvaders

Coyotl - Invasores - Space invaders clone in python/pygame

Primary LanguagePython

Coyotl-Invasores-Invaders made with PySpaceInvaders

Coyotl-Invasores-Invaders

Coyotl-Invasores-Invaders (working title) remixes Space Invaders as an artwork which premiered in Aim_High at Ogden Contemporary Art, May 5, 2023. Eric Garcia, Rafael Fajardo, and Esteban Fajardo contributed to the remix. Eric Garcia created the sprites and the idea. Rafael Fajardo integrated the sprites and the code, upgrading it for exhibition. Esteban Fajardo extended the capabilities by adding support for a joystick.

Aim High hardware and software setup

The hardware and software system for the Aim High exhibition is: Raspberry Pi model 4B+ Hyperkin Trooper 2 joystick gamepad Vilros aluminum passive cooled case Vilros power supply with integrated on/off switch USB mouse and keyboard RasPiOS Bullseye 2022-11 release Python3 default installation for this RasPiOS version Pygame 1.9 default installation for this RasPiOS version

more detailed system specs in HowToLaunch.txt

Developer Diary

Developer Diary and notes are found in invasores.txt

Original Read Me for PySpaceInvaders

Language Module Release

Space Invaders recreated by Seitoh63

Space invaders is originally an arcade game released in 1978. It is a 2D shooter, the first of its genre. The goal, as for most of the arcade game of this time, is to obtain the highest score by destroying continuously the incoming aliens.

Here is two gifs of gameplay :

Gameplay

Many aliens are invading world and move slowly to you, shooting laser randomly in your direction.

The spaceship (aka the player) can move on the horizontal axis, avoiding laser shots. The spaceship can also fire at aliens, but it should aim properly since it's only one shot at a time. It can take cover below barriers, but they are gradually destroyed by enemy lasers and spaceship missiles.

Hit aliens are destroyed and award points. Periodicaly, a mistery saucer will appear, granting a lot of bonus point if destroyed.

How to play

Download the source code and type :

C:\.\PySpaceInvaders python main.py
  • Arrow keys to move
  • Space key to shoot

Requirements

python : >= 3.7.6
pygame : >= 1.9

Technical informations

This game was implemented to reproduce as faithfully as possible the original arcade game.

Sprites come from :

Sounds have been edited but the original material comes from :

Gameplay inspiration comes from youtube :

There is a configuration file config.py which contains all the configuration data. It can be modified to customize the game experience.

I'm very glad you take some time to look at my game and at my code!