Skip to content

BaZzz01010101/TetrisGL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TetrisGL

Just another tetris game with OpenGL graphics

Overview

This project has developed for training purposes only.
It has been written in C++ and uses OpenGL to render all graphics.
Signed Distance Field Font technique was used for rendering all texts in the game.

Installation

Windows

  1. Download the latest release
  2. Unpack it to any folder you want
  3. Run TetrisGL or TetrisGL64 executable

Linux

  1. Install packages libasound-dev, libglew-dev
  2. Install or compile GLFW
  3. Build
mkdir build
cd build
cmake ..
make -j 4
  1. Run bin/TerisGL You can change ALSA device by setting environment variable MMC_PLAY_DEVICE. Also FPS can be displayed by setting environment variable FPS_COUNTER

Third-party libraries used

  • GLEW - The OpenGL Extension Wrangler Library
  • GLFW - Library for creating windows with OpenGL contexts and processing events
  • GLM - Mathematics library based on the OpenGL Shading Language (GLSL) specifications
  • FMOD - FMOD Low Level Programmer API
  • RapidJSON - A fast JSON parser/generator for C++ with both SAX/DOM style API
  • FreeType - Library to render fonts dependency removed
  • stb_image - Image loader/decoder

Music credits

Sound FX credits

* all sounds was additionally processed

License

This software released under GNU GPL v3

Screenshots

About

Just another tetris game with OpenGL graphics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages