« All Events
SAT – 1 PM – Advanced Python Game Development – Chet
June 11, 2022 @ 1:00 pm - 2:00 pm
Today We Do
- We reviewed the homework.
- We enabled multiple waves of enemies.
- We make the player’s health decrease when enemies is off the screen and still alive.
- We hide hotspot when there is no floating towers.
Homework
-
- Add the “assets/images/cancelPurchaseButton.png” appear on the screen on the left side of the Towers for purchase when there is a floating tower.
- When you click on the “Cancel Purchase” button, make the floating tower disappear and return the money to self.coins. self.floating_tower_group.sprites()[0].kill()
- Add background song for your game. Go to opengameart.org and find a good song for your game. Find the .wav file and add it to your assets folder and play it when the game is in session.