Giter Club home page Giter Club logo

spaceshooter's Introduction

Space Shooter v2.0:

Python3 based 2D Space Shoot Game. Now Two Games Included. Coded by @AbirHasan2005.

Game Details of spaceshooter_rocky.py (New):

  • Better images.
  • Sound on actions.
  • Can move only in bottom of the Map. Only Left & Right movement.
  • Can control with Left & Right Arrow Keys. Press Space Key for Leaser Bullets.
  • 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.
    • Payer Explosion.
  • 3 lives Per Game.
  • So Fun to play.

Game Details of spaceshooter_normal.py (Old):

  • Low quality images.
  • No sound.
  • Can move to anywhere in the Map.
  • Can control with WASD word Keys. W = UP, A = Left, S = Down, D = Right. Press Space Key for Leaser Bullets.
  • Health bar for the space ship.
  • Level Board.
  • Starts again after Game Over.

Please Check Releases:

GitHub release (latest by date)

Imports:

# For spaceshooter_normal.py

import pygame
import os
import time
import random
# For spaceshooter_rocky.py

from __future__ import division
import pygame
import random
from os import path

Requirements:

  • Windows OS/Linux OS/Mac OS
  • Python3
  • PIP3
  • Git (Optional)
  • pygame Module

Setup:

  • Linux/Mac:

    • Command: git clone https://github.com/AbirHasan2005/spaceshooter && cd spaceshooter && pip3 inatall -r requirements.txt
  • Windows:

    • Command: git clone https://github.com/AbirHasan2005/spaceshooter && cd spaceshooter && pip inatall -r requirements.txt
    • If you don't have Git installed then download the ZIP file(spaceshooter-master.zip), Extract, Double Click the setup_for_Windows.bat file for the setup for Windows.

Start Game:

  • Linux/Mac:

    • Run the spaceshooter.py file
    • Command: python3 spaceshooter.py
  • Windows:

    • Double Click the spaceshooter.py file or
    • Command: python spaceshooter.py

For Any Kind of Help:

Don't Forget to Share Your Best Score in Our Telegram Group!

Follow Me:

Donate Me:

paypal

spaceshooter's People

Contributors

abirhasan2005 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.