All Projects → tasdikrahman → Spaceshooter

tasdikrahman / Spaceshooter

Licence: other
🎮 The classic retro game recreated using Pygame and python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Spaceshooter

Chrome-Dino-Runner
🐱‍🐉 A Replica of the hidden Dinosaur Game from Chrome Browser Offline mode build using Python and PyGame.
Stars: ✭ 22 (-94.59%)
Mutual labels:  pygame
chain-reaction-ai
ai opponent for the game chain reaction
Stars: ✭ 95 (-76.66%)
Mutual labels:  pygame
Face Tracking With Anime Characters
Hello! I have made a Python project where YURI from the game doki doki literature club accesses the webcam and stares directly into the players soul. Hope you enjoy!
Stars: ✭ 320 (-21.38%)
Mutual labels:  pygame
pygame-text-input
a small module that enables you to input text with your keyboard using pygame
Stars: ✭ 114 (-71.99%)
Mutual labels:  pygame
Pygame3D
Set of modules that use Pygame to display 3D graphics
Stars: ✭ 55 (-86.49%)
Mutual labels:  pygame
snake-pygame
🐍 A snake game written in Python using the Pygame library
Stars: ✭ 42 (-89.68%)
Mutual labels:  pygame
MyChess
中国象棋pygame
Stars: ✭ 30 (-92.63%)
Mutual labels:  pygame
Pibooth
The pibooth project provides a Photo Booth application out-of-the-box for Raspberry Pi and opencv compatible devices
Stars: ✭ 398 (-2.21%)
Mutual labels:  pygame
MagicTower-Python
Python魔塔样板,自带Demo游戏内容(Powered by Pygame)
Stars: ✭ 32 (-92.14%)
Mutual labels:  pygame
Pygame
pygame (the library) is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.
Stars: ✭ 4,164 (+923.1%)
Mutual labels:  pygame
Pygin
Simple game engine produced for making easier to build more complex games using Python.
Stars: ✭ 21 (-94.84%)
Mutual labels:  pygame
AirHockey
Air Hockey game created using pygame
Stars: ✭ 25 (-93.86%)
Mutual labels:  pygame
Games
Create interesting games by pure python.
Stars: ✭ 3,431 (+743%)
Mutual labels:  pygame
visgraph simulator
See how visibility graphs work in an interactive way using Pyvisgraph and Pygame
Stars: ✭ 28 (-93.12%)
Mutual labels:  pygame
Airgesture
Play games without touching keyboard
Stars: ✭ 361 (-11.3%)
Mutual labels:  pygame
sappho
2D Game Library
Stars: ✭ 15 (-96.31%)
Mutual labels:  pygame
Cloth-Simulation-With-python---Verlet-Integration
No description or website provided.
Stars: ✭ 17 (-95.82%)
Mutual labels:  pygame
Flappy Bird Deep Q Learning Pytorch
Deep Q-learning for playing flappy bird game
Stars: ✭ 403 (-0.98%)
Mutual labels:  pygame
Pygame tutorials
Code to go along with lessons at http://kidscancode.org/lessons
Stars: ✭ 363 (-10.81%)
Mutual labels:  pygame
Pgzero
A zero-boilerplate games programming framework for Python 3, based on Pygame.
Stars: ✭ 311 (-23.59%)
Mutual labels:  pygame

Space Shooter

The classic retro game recreated using Pygame and python.

Index

Demo

[Back to top]

Follow the youtube video to see how I fared on spaceShooter

Space Shooter Demo - Youtube

Screenshots

[Back to top]

Screen 1 Screen 2
Screen 3 Screen 4

Game Features

[Back to top]

  • Health bar for the space ship
  • Score board to show how you are faring so far
  • Power ups like
    • shield: increases the space ships life
    • bolt: increases the shooting capability of the ship by firing 2 to 3 bullets instead of one at time.
  • Custom sounds and sprite animation for things like
    • meteorite explosion
    • bullet shoots
    • player explosion
  • 3 lives per game
  • Fun to play :)

Controls

[Back to top]

Button
Move Left left
Move right right
Fire bullets spacebar
Quit game Esc

Installation

[Back to top]

For Windows

Linux/Debian based systems

Option 1: Download the zipped executable file

If your download was saved on the ~/Downloads folder

Press Ctrl + Alt + T to open the shell if you are on GNU/Linux based systems and type

$ unzip ~/Downloads/SpaceShooter-0.0.3.Linux.zip -d ~/Desktop
$ cd ~/Desktop
$ ## navigate to the unzipped file and change the file permissions for the executable
~/Desktop $ chmod +x spaceShooter
~/Desktop $ ./spaceShooter

This will unzip the file on your Desktop, you can replace it with the directory of your choice

NOTE : If it gives you an error, you probably don't have unzip installed in your system.

$ sudo apt-get install unzip

That should fix the error.

  • Run the executable named spaceShooter

A Similar process would be followed for OS X

Option 2: Build from source

You need to have pygame installed for this option.

For FreeBSD

$ sudo pkg install devel/py-game
Clone the repo
$ git clone https://github.com/tasdikrahman/spaceShooter.git
$ cd spaceShooter/
$ chmod +x spaceShooter.py
$ python spaceShooter.py

For Ubuntu/Debian

$ sudo apt-get install python-pygame
Clone the repo
$ git clone https://github.com/tasdikrahman/spaceShooter.git
$ cd spaceShooter/ 
$ python spaceShooter.py

For MAC OS X

You have to build from source to get it up and running on OS X. Reason? I don't have an OS X system to build the executable! So I would love for a Pull request on that one.

Building from source will do the trick though

$ pip3 install hg+http://bitbucket.org/pygame/pygame

Install Pygame specific dependencies

$ brew install sdl sdl_image sdl_ttf portmidi libogg libvorbis
$ brew install sdl_mixer --with-libvorbis
Clone the repo
$ git clone https://github.com/tasdikrahman/spaceShooter.git
$ cd spaceShooter/ 
$ python spaceShooter.py

Contributing

[Back to top]

This game was written in one day, so the coding standards might not be up the mark. Don't be shy to make a Pull request :)

For details, please refer the Contributing page

Contributers

[Back to top]

  • @bardlean86 for adding the third missile powerup and the main menu

To-do

[Back to top]

  • [x] Add the windows executable file
  • [x] Add main menu for the game
  • [x] Fix bug which stops the background music from looping
  • [x] Add support for WAV game music file as ogg format is not playable as described in #1
  • [ ] Add feature to pause to the game.
  • [ ] add feature to replay the game after all players die
  • [ ] Add OS X executable file as the Debian based one fails to execute on it

Issues

[Back to top]

You can report the bugs at the issue tracker

OR

You can tweet me if you can't get it to work. In fact, you should tweet me anyway.

Credits

The game is a fork of the video instructions given by KidsCanCode. I have made several additional enhancements to it. Do check out their Channel!

Similar

[Back to top]

License

[Back to top]

Built with ♥ by Tasdik Rahman(@tasdikrahman) under MIT License

You can find a copy of the License at http://tasdikrahman.mit-license.org/

License for them is in Public Domain

Donation

[Back to top]

If you have found my little bits of software being of any use to you, do consider helping me pay my internet bills :)

PayPal Donate via PayPal!
Gratipay Support via Gratipay
Patreon Support me on Patreon
£ (GBP) Donate via TransferWise!
€ Euros Donate via TransferWise!
₹ (INR) Donate via instamojo
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].