American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

3 PM – Python Game Development

September 18, 2021 @ 3:00 pm - 4:00 pm

Today We Do

  1. We made sure that bullet/fireball is spawn on the screen.

Homework

For Raelyn, Bradley and Corey
  1. Make sure when health goes to 0, you display the Game Over page properly. The Game Over page should have play button. And the play button should be clickable.
For Kyle and Anderson
  1. When the enemy is moving diagonal, the hitbox of your enemy does not move up or down. Fix your code so the hitbox is following the enemy movement.

For Everyone

  1. Add more pink lines on your map. The pink lines are the places in your map where you can place your towers. Place them in location where you can possibly drop the tower during the game. In main.py, look at create_tower_hotspot(self) method.
  2. Modify TowerForPurchase so the tower will be shrink according to the self.size. Currently, self.size is not being used. It needs to be used to shrink the size of the tower image.
  3. In main.__init__() add more TowerForPurchase into self.tower_for_purchase_group. Place one tower for each tower type you have in your game onto the map. Place them in a location where it does not obstruct your game play.

Details

Date:
September 18, 2021
Time:
3:00 pm - 4:00 pm
Verified by MonsterInsights