Features and References


Features

Ball bounces off the walls and paddles, and if it reaches the left or right edge the appropriate player score will be increased by one.  The paddles can move and don't leave the screen (note they can only be controlled by key input as opposed to AI at the moment).  A "Play Game" button initiates the game, and once a game is finished (someone scored 10 points) it returns with its text changed to "Play Again".  The game can be fully reset and played as many times in succession as you like.  A small thing I added was a delay before the ball starts moving (after the start button is pressed or someone scores) to allow the player(s) time to prepare for receiving the ball.

Assets

The game was made from simple inbuilt Unity assets plus some sprites (Ball, Paddles and Middle Line) which I made outside of Unity just to practice the process of bringing in external assets and adjusting the Sprite Renderer to display them properly.

References - I was able to make the game thanks to these sources (and a lot of experimentation):

Leave a comment

Log in with itch.io to leave a comment.