- This event has passed.
1 PM – Python Game Development
June 18, 2022 @ 1:00 pm - 2:00 pm
Today:
- We went over the homework to add the cancel purchase button and music.
- We fixed the bug where clicking on the towers for purchase deducted more coins
- We added logic so bullets hitting the enemy didn’t kill them immediately but ony when their health goes to zero.
Homework:
- Add a game over page, it should look like this:
- When the health attribute goes to zero, switch the game “self.mode” attribute to GAME_LOST, and display the game over page.