Skip to content

WebGL practical example as a homework for the University's Computer Graphic course

Notifications You must be signed in to change notification settings

Flatout73/3d-tetris-webgl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D Tetris

3D tetris realisation using WebGL. Not a real game, just rendering and collision detection.

You can enable different shading using "e", "r" and "t". Also, you can enable object's frames using "G" for better distinguishing of objects.

Known issue:

With some tetracubes, if you move them at the last second before grounding, they can stack one in another.

Tested environments

Visual Studio Code (1.87.2 (Universal)) with Preview on Web Server and WebGL GLSL Editor plugins. Google Chrome (Version 123.0.6312.59). Mac OS Sonoma 14.2.1 on Macbook Pro M3 Max (ARM based).

Additional and general remarks

GridObject.js is for showing the grid and handling collisions.

About

WebGL practical example as a homework for the University's Computer Graphic course

Resources

Stars

Watchers

Forks