This is a Tetris Clone that uses Unity's Experimental 2D realistic lighting physics. 

***There is currently a glitch if you hold down while pressing the hold button, it will spawn two pieces at once. You can either restart the game by pausing it and pressing "RESTART", or you can download the Desktop version, which does not have this issue.*****

CONTROLS: 

Left arrow/Right arrow = Move piece left and right

Down arrow = Bring piece down faster

Up arrow = Hard drop (drops to the bottom immediately)

Z/X = Left and right rotate

C = Hold a piece

Esc = Pause Menu


EXPLANATION:

The lamp at the top burns out over time! Clearing lines will recharge the lamp, but getting to higher levels will make the lamp burn out faster

Scoring a Tetris (4 lines in one shot) is worth extra points, and the lamp will do something unexpected!

There are a row of lights at the bottom that indicate your combo (the number of consecutive turns you've cleared a line). Keep  clearing lines consecutively to make the combo lights grow! Score an 8-combo to light up the last golden light! 


What I learned in this project:

  • how to use Unity2D 
  • how to set up 2D lights and manipulate them in-game
  • how to make and manipulate a shader graph for animations
  • how to make a pause menu 
  • how to make a Restart Game button
  • how to use inheritance to make accessing data more streamlined 
  • how to create UI (that doesn't move around based on screen resolution)
  • how to playtest a game by yourself
  • how to export a game with WebGL 
  • how to export a game for PC/Mac

Please enjoy!

Download

Download
Lightris (Desktop Version) 22 MB

Install instructions

- Download Lightris.zip

- Right-click it, and select "Unzip folder".  (If you don't have that option, you'll have to download a software that does it for you, like 7zip or Winrar). 

- Once you've unzipped it to a new folder, double click "Lightris.exe" and the game will open! 

Development log

Leave a comment

Log in with itch.io to leave a comment.