« All Events
1 PM – Python Game Development
June 19, 2021 @ 1:00 pm - 2:00 pm
- We went over the homework to detect collision between player and tube, and added score.
- We added a game mode and play button.
- I’ve added the source code here.
- Homework:
- Add the flappy duck logo and center it above the play button.
- When the player dies set the mode equal to the new mode we added “GAME_OVER”. Also define a new “handle_game_over_page” that draws “Game Over” text above the play button. You’ll need to modify the if else statements inside the game loop.
- Add in the sounds effects for when the player collides with the coin or the tube.