Breakout gameplay screenshot

Breakout Game

This is a classic implementation of the Breakout game developed in Unity. The game features traditional brick-breaking mechanics where the player controls a paddle to bounce a ball and destroy bricks. It includes custom character animations, powerup systems, data persistence for leaderboards

Technologies Used

Breakout game splash screen
Breakout gameplay screenshot
Normal brick type
Character/Person in game
Strong brick type
Game splash screen with start button
Main gameplay showing paddle and bricks
Main body and hat layer of character
Game character
Is the animation for when ball hits the paddle

Having trouble loading the game? Play directly on Itch.io

Challenges Faced

During development, I encountered several technical and design challenges that tested my problem-solving skills and pushed me to learn new concepts.

Ball would end up stuck in a bounce pattern

While the ball was bouncing off the paddle I originally had it invert to bounce off the paddle, but this caused the ball to get stuck in a bounce pattern. I had to change the code so that it would add a random angle to the ball when it hits the paddle to prevent this.

🔍

No limit on text size for leaderboard or amount of players

The leaderboard would not limit the text size for the player names or the amount of players that could be added to it. I had to add a limit to the text size and amount of players that could be added to the leaderboard. I did this by using a max length for the input field and a max amount of players that could be added to the leaderboard json.

Reflections

🧹

Better commenting

Could have improved code comments for clarity and future reference. Especially on scripts that are reusable in other projects, like the SaveData script.

💥

Powerup Feedback

Adding animation and sound to provide more feedback to player on powerup pickup to indicate time left and draw attention to the pickup.

🎯

Scope Management

Suffered from some scope creep, adding hats and probably even the character was unnecessary. So keep to the KISS principle and keep to the planned scope of the project.

🎨

Time Management

Spent too much time on the art and not enough on the gameplay. I should have focused more on the core mechanics and less on the character.

Future Improvements

If i was to revisit this project, I would improve the feedback when a powerup is collected by adding visual effects and sound cues. I would also spend more time on the background image to make it more appealing. Additionally, I would implement a scoring system that tracks the player’s score and displays it on the screen, enhancing the competitive aspect of the game.