American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

6 PM – Python Game Development

May 22, 2021 @ 6:00 pm - 7:00 pm

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

Details

Date:
May 22, 2021
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights