Design Process


Added an AI but menu buttons to activate scripts failed, so it is hard programmed for one player and one AI

Added in function that on goal, ball starts in direction of player that lost the point

Ball is confined to game space using walls, goal trigger (to reset after goal scored)

Ball increases speed every time it bounces - I think I set a max speed to prevent weird collision bugs

Ball will change angle significantly the closer it gets to the edge of a paddle

Used scripts with physics to make ball bounce, etc.

Added score UI

Player is moved with mouse and is confined to the game space

tried to implement a win condition on first player to reach 10 points

Files

Project Pong Game.7z 10 MB
Aug 19, 2024

Get KIT109 Assignment 1 - Pong Game

Leave a comment

Log in with itch.io to leave a comment.