Website powered by

Tetris - Unreal Engine 5 (Blueprint Coded)

Here is the first in a series of classic games I am remaking in Unreal Engine 5 using Blueprint logic to code all the gameplay and UI. I have also used Niagara FX to include the effect of the blocks disappearing into particles. I will be including a few screenshots below of certain areas of the blueprint code.

Tetris in Unreal Engine

Tetris Piece Random Selection

Tetris Piece Random Selection

Tetris Player Controls

Tetris Player Controls

Section Of The Checking Lines BP - Dealing with looking for completed lines of 10 blocks

Section Of The Checking Lines BP - Dealing with looking for completed lines of 10 blocks

Section Of The Checking Lines BP - Dealing with the spawning of the Niagara particles that spawn to show the blocks disappearing into particles

Section Of The Checking Lines BP - Dealing with the spawning of the Niagara particles that spawn to show the blocks disappearing into particles

Try Rotation Function

Try Rotation Function

Try Movement Function

Try Movement Function

Set Blocks Logic - Dealing with converting the Tetris shape into individual blocks once the piece has set in the game

Set Blocks Logic - Dealing with converting the Tetris shape into individual blocks once the piece has set in the game