Giter Site home page Giter Site logo

priomdeb / pyopengl-game-survive-from-enemy-drones-opengl-game-source-code Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 9.03 MB

An OpenGL Game Project Which is Basically a PyOpenGL Game Project

Home Page: https://www.priomdeb.com/pyopengl-game-survive-from-enemy-drones

Python 100.00%
2d-game game opengl opengl-game opengl-practice opengl-programming opengl-project pyopengl pyopengl-game pyopengl-project

pyopengl-game-survive-from-enemy-drones-opengl-game-source-code's Introduction

PYOPENGL-GAME-Survive-from-Enemy-Drones-OpenGL-Game-Source-Code

SURVIVE FROM ENEMY DRONES IN SPACE

Contributors Contributors Members Stars

MIT License "PriomDeb"

Description This project is a game based project. I named the game “Survive from Enemy Drones in Space”. The player is a drone. Also, the enemies are drones. The enemy drones are colored as red and the player is colored as white. The enemy drones will come from the top edge of the screen. The player has to avoid colliding with those enemy drones. Because if the player collides with the enemy drones, then the size of the player drone will increase and the health of the player will decrease. The player has a limited amount of health. As the player drones become larger and larger when it collides with enemy drones, the chances to avoid enemy drones will be lower. When the health reaches zero, the game will be over. The longer the player survive, the score will continue to increase.

The whole game is developed using only OpenGL (PyOpenGL). No built in line drawing or circle drawing method is used. The every pixel of this game is drawn using computer graphics algorithms. Midpoint Line Drawing and Midpoint Circle Drawing algorithm is used to draw the graphics of this game. No built in transformation method is used. Every transformation is done manually.

PyOpenGL Game Features

PyOpenGL Game

  • User Controls

  • Animated

  • Score System

  • Health System

  • Game Over and Restart

  • UI Texts for Score, Health and Game Over

Game Controls Keys
Move W, A, S, D
Restart R

Clone this project

git clone https://github.com/PriomDeb/PYOPENGL-GAME-Survive-from-Enemy-Drones-OpenGL-Game-Source-Code

Install dependencies

  • PyOpenGL
  • PyOpenGL_Accelerate

Run

python main.py

Languages and Tools

git git git python pycharm


Contact

Mail

[email protected]

[email protected]

http://priomdeb.com

🌵 Stay peace and keep coding!

Priom-Deb-Py-Open-GL-Game-Py-Open-GL-Project-Open-GL-Game-Open-GL-Project

pyopengl-game-survive-from-enemy-drones-opengl-game-source-code's People

Contributors

priomdeb avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

nunu002

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.