American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

3 PM Python Game Development

August 3, 2019 @ 3:00 pm - 4:00 pm

  1. We continued with Birdie project:
    1. We made sure when the player hit the bird, the player disappear and player.is_alive = False
    2. When the player is dead, we display the “Play” button.
    3. We added logic when user click horizontally on the “Play” button, the player will be resurrected. But we did not check the vertical position of the mouse.
  2. Homework:
    1. When the “Play” button appears, not only do we need to check the mouse x position, we also need to check the y position of the mouse.
    2. When the “Play” button appears, also display the “Birdie” title image on top of the play button.
    3. In the Player constructor, in the beginning, the player.is_alive has to be set to “False”.

Details

Date:
August 3, 2019
Time:
3:00 pm - 4:00 pm
Event Categories:
,