- This event has passed.
3 PM Python Game Development
November 2, 2019 @ 3:00 pm - 4:00 pm
- We went over how to setup Pycharm. But failed to install Pygame. I will revisit this next week.
- We made the bouncing of the ball with the paddle a little bit more random.
- We also make sure that all the 3 sound effects were added properly.
- When the ball hit the paddle, it should play the “bubbles.wav” sound effect.
- When the ball hit the left or right edge, it should play the “blast.wav” sound effect.
- When the ball hit the top or bottom edge, it should play the “plop.wav” sound effect.
- Homework:
- Inside Pong.py, init the __init__(), add self.winning_score = 3
- Whenever the score of each player increase, check if the player score is equal to the winning_score. If it does, display “BluePlayerWin.png” or “OrangePlayerWin.png” banner depending on who wins the game.
- Get all the assets from the google drive.