Pong DevLog
KIT109 - Assignment 1 - Pong » Devlog
This pong game was made for an University assignment.
The game includes the basics:
- 2 players controlled by separate keyboard input
- A ball that starts in the middle of the screen and moves in a random direction at the same speed no matter what direction
- When the ball hits a wall or paddle it bounces back at the correct reflected angle without losing speed
Additional Features include:
- When the ball is lost off screen, it resets to the middle of the screen
- Paddles can not move past the top or bottom walls
- Score UI for each player
- Gameplay logic that ends the game when a player reaches 10 points and displays the winner
- A title screen with the choice of a 1-player or 2-player game with an AI second player for the 1-player option
- When the game ends the player can choose to go back to the main menu and select a game mode again
- Added sound effects for when the ball hits a wall, the ball hits a paddle, a point is scored, a player wins, the AI wins
- The ball slowly increases in speed each time it bounces, resetting to its initial speed when it is lost off screen
All the art was created myself with the audio sounds sourced from Freesound.org.
- Ball-Wall: https://freesound.org/people/LittleRobotSoundFactory/sounds/270322/
- Ball-Paddle: https://freesound.org/people/LittleRobotSoundFactory/sounds/270321/
- Point Scored: https://freesound.org/people/LittleRobotSoundFactory/sounds/270303/
- Player Wins: https://freesound.org/people/LittleRobotSoundFactory/sounds/270333/
- Ai Wins: https://freesound.org/people/wolderado/sounds/415096/
Some of the scripts used in the game were based of scripts provided by the Univesity.
Leave a comment
Log in with itch.io to leave a comment.