Coder Social home page Coder Social logo

webgl-tunnel-rush's Introduction

Tunnel Rush using WebGL

About the game

This is a simple WebGL clone of Tunnel Rush game. The game has several features like textures, lighting and shadows. A sample of how the game looks like is given below:

Tunnel Rush

1. How to run the game

First compile:

install webGL supporting web broweser like firefox.
open index.html in it.

2. Controls :

  • The user can play by keyboard.
Keyboard Controls
KEY ACTION
space bar Jump
a Rotate left
d Rotate right
P Pause
B Greyscale

3. Scoring

  • Depends on the distance travelled.

4. Rules

  • You have a total of lives to compete in the game.
  • You move on to the next level after scoring multiple of 100 pnts.
  • The obstacles start rotating after two levels
  • Hitting the obstacles makes you lose life.
  • We can use use jump feature to escape 2nd obstacle around middle peices.

5. Additional Features

  • The game has background audio implemented using threading.
  • Multiple sounds for collision, sound
  • Score, Life and Level integrated + Displayed on canvas.
  • Speed increases with levels.
  • Gameover splash screen.
  • Game can be paused.
  • Lighting, flash and texures are implemented.

License

The MIT License

Copyright © 2018 Shashank [email protected]

webgl-tunnel-rush's People

Contributors

talsperre avatar

Stargazers

anne gardes avatar  avatar

Watchers

James Cloos avatar

webgl-tunnel-rush's Issues

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.