Code Monkey home page Code Monkey logo

tetris's Introduction

Yet another Tetris clone...  With better graphics, now ported for OpenGL 3.3 CORE

Keyboard Contols:
Up			- Rotate piece
Down			- Drop piece
Spacebar		- Place piece
Left/Right		- Move piece left/right
N			- Start an 'A' Type new game
B			- Start a 'B' Type new game
P/Pause			- Pause game
M			- Pause music
1			- Change piece shader (glass, milk glass, lit)
2			- Change piece object (ball, rounded cube, full cube)
A/Z			- Exposure up/down
Home/End		- Changes to Next/Previous Song
Page Up/Page Down	- Changes to Next/Previous Scene
Escape			- Quit game

Mouse Controls:
Left button - Rotate
Middle button - Pan
Right button - Zoom

Tech info:
64bit fixed point precision HDR rendering with light glare.
Per-Pixel Reflections, Refractions, Diffuse, and Specular Image Based Rendering.

*** NOTE ON MUSIC ***
Since most music is copyrighted, I'm not going to include any in this demo,
however, you can encode your own OGG Vorbis music and place it in the game's
directory and it will play the songs at random (it scans the directory on start).

It won't scan sub-directories, so make sure the music in the directory where you
installed the game.

You can get encoder and tools here:
http://www.vorbis.com/

tetris's People

Contributors

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