« All Events
7:30 PM – Python Game Development – Bill
April 22 @ 7:30 pm - 8:30 pm
Your HW:
- Create a custom collide handler for when a bird hits the player
- Change the game so that the player is NOT destroyed when it collides with a bird
- Make it so when the player hits a bird, the mode is set to GAME_WIN if the player has more than 100 score or GAME_LOSE if less than 100
- Create 2 methods to handle the game win and lose page
- Make sure both have a button to restart the game (copy and paste the play button from main menu)
- For the text, you will have to create a new font and draw the text that way like we did for the score