Giter Club home page Giter Club logo

grey--python3-2d-game's Introduction

A Python based 2D Game

msaad1999

INTRODUCTION

I created this game in Python 3, using Python's pygame library. This was a semester project, so i had to create the whole game without any aid of a game making software. and in itself, the pygame library is not very good for creating games so a lot had to be manually created from scratch.

corrupt image

GAME MECHANICS

the game is simple. there are no levels, only an infinite vertical-scrolling background with a jet as the player. the jet is controlled with mouse movement, and mouse click fires a single bullet. the gun upgrades at a certain point in the game to a continous firing machine gun. the enemies upgrade over time, becoming bigger and harder to kill. and the player jet also upgrades over certain score intervals with a small bonus in HP.

The game has a fully working HP system, with HP boosts at certain score intervals and player death upon HP depletion. There is also a score system, with the score being displayed at the death screen

HOW TO PLAY

u need to have python 3 installed on your system and your device resolution must be 1366x768. that is a little inconvinient, but i did not have time to make the resolution dynamic. When installing Python 3, ensure that the "add python to path" is ticked. once installed, type the following command in the cmd : pip install pygame once the previous requirements are met, simply run the GREY.py file

FUTURE IMPROVEMENTS

If hopefully i get time to work on this project again and i actually see that people are at least liking this, i already have some things i want to change in it. instead of an infinite game, i want to ad bosses at certain score intervals, along with changes with background images giving impression of level changes. apart from that, i want to add powerups, more enemies, player upgrades and i want to improve the enemy movements and firing patterns as well

grey--python3-2d-game's People

Contributors

msaad1999 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.