Posted March 15, 2026 by cat_fanatic64
This version of Pong that I have made includes the basic features required for the game to function properly, including; the ball moving in a random direction, bouncing at an accurate angle on both the wall and player paddles, controls for both the player 1 and 2 paddles, and graphics for all required assets, as well as a black background within the camera component. The paddles also do not get stuck or travel through the walls.
The automatic code suggestions within Visual Studio were used within certain code snippets in the scripts, which are commented accordingly, and a video making pong was used as a reference for creating the "ball bounce" Physics Material 2D.