« All Events
6 PM – Python Game Development
May 22, 2021 @ 6:00 pm - 7:00 pm
- Homework:
- When Play button is clicked, do the following
- reset player’s location
- reset player’s fall speed to 0
- clear the tube
- clear the coins
- We did a similar thing in Birdie project so check out the code there.
- Similar to game_landing_page(self), create game_over_page(self) inside main.py. Inside game_over_page(self) you have to:
- Display play and credit buttons
- Display GAME OVER text. Look at how we display score in birdie.
- When the bird hit the bottom of the screen, switch the game_mode to GAME_OVER instead of GAME_LANDING_PAGE.
- There is no class on May 29 because of memorial day weekend. The class will resume on June 5.