- This event has passed.
7 PM – Python Game Development
March 30, 2022 @ 7:00 pm - 8:00 pm
Today:
- We went over the homework to add the waves and enemy type.
- We went over different enemy healths.
- We added logic to keep track of attack_point for tower and bullet and made the enemies only die when they ran out of health.
Homework:
- Add a game over page. Show the game over page when your health goes to zero. From the game over page, you should be able to click the play button and restart the game. It should look like this.
- Add a game won page. You win the game when no more waves are left, the current wave is empty, and there are no more enemies on the screen (the enemy_group sprite group is empty). The game won page should look like this:
- Make sure you reset the waves and all other sprites when you click the play button from the game over or game won pages.