top of page

Block Breaker is a modern replica of the arcade classic "Breakout" made in Unity.

In this project I made a "life system" with visual representation of how many lives are left. The life system is not hard coded but instead is expandable so the player could gain more lives or start with 10 lives.

 

I was also testing Unity's Text Mesh Pro to create unique text effects within Unity using textures I made from scratch. For example, the 80s retro look in the game's title font was made by applying a texture I made in Photoshop and tweaking some of the text options in Text Mesh Pro.

​

The player can also save and load the game by pressing "J" and "L" respectively which stores the current level, and the player's stats at the beginning of that level (life and score). At first, the save data was stored on the Windows registry through PlayerPrefs. Now, the save file is stored in the JSON format.

​

The shape of the paddle's collider was originally a hexagon that outlined the paddle perfectly. However, it was later changed to a rounder collider with it's highest point at the center of the paddle. That way, it mimics the original game where the ball changed direction depending on which part of the paddle touched it.

​

In the future I might add power-ups and write my own soundtrack for the game. However, the main purpose of the game was to learn 2D development in Unity using the canvas, sprites, 2D colliders, and physics.

bottom of page