Lagless clone of Tetris The Grand Master 1 with custom backgrounds written in C++ and OpenGL. The background changes every 100 levels.
There are multiple executables built with different controls. For now, to use your own keys, edit the keys in common.hpp and build from source.
The program allows the user to specify the transparency of the playfield. Using 10 equal divisions on Gamma 2.2, the user can specify a value of the executable between 0 and 9. By default, if no argument is given, the transparency is 4.
It is also possible to use your own texture atlas. Follow the template to specify the location of each game object in texatlas.layout in the assets.
Only building on linux is currently supported. To build for linux, clone the master branch of the release and ensure the following dependencies are installed
Ubuntu:
sudo apt install libglfw3 libglfw3-dev libglew2.2 libglew-dev libpng-dev cimg-dev
Arch:
sudo pacman -S glfw-x11 glew libpng cimg
To build for windows, please clone the windows branch and use MinGW-w64. On arch linux, the build dependencies can be installed from the AUR with
yay -S mingw-w64-binutils mingw-w64-cmake mingw-w64-configure mingw-w64-crt mingw-w64-environment mingw-w64-gcc mingw-w64-glew mingw-w64-glfw mingw-w64-gmp mingw-w64-headers mingw-w64-libpng mingw-w64-lzlib mingw-w64-make mingw-w64-pkg-config mingw-w64-winpthreads mingw-w64-zlib
If you want to build on windows, please use WSL. The configuration for building on windows is not present at the time.