Assignment 1


When I run this game on itch.io sometimes will have a lag then the ball will cross or stuck on the wall or paddle,  but it doesn't happen in Unity.

Some fratures:

1.The ball will be destroyed when out of the edge of the screen, and will be reset to the centre by press the SPACE.

2. The paddle will not leave the screen.

3. Have a UI at top to show the score.

4. When someone who get 10 score will end game and show the winner.

5. At the game ends will have two choice to back to the menu or play again.

6. Have a very simple AI which allowed 1-player mode (AI just base on the collision.... each collision will change the direction....).

7. The ball will increase the speed everytime when it collision with the paddle.

8. The bounces angle of the ball will based on the position that the ball hit the paddle(more far away to the paddle centre will have more big angle with the X-axis).

Files

BuildGzip.zip Play in browser
Jul 30, 2022