- This event has passed.
3 PM Python Game Development
August 3, 2019 @ 3:00 pm - 4:00 pm
- We continued with Birdie project:
- We made sure when the player hit the bird, the player disappear and player.is_alive = False
- When the player is dead, we display the “Play” button.
- 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.
- Homework:
- 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.
- When the “Play” button appears, also display the “Birdie” title image on top of the play button.
- In the Player constructor, in the beginning, the player.is_alive has to be set to “False”.