American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

12 PM – Advanced Python Game Development

June 5, 2021 @ 12:00 pm - 1:00 pm

  1. We created Wall Explosion animation.
  2. We created Enemy Tank via inheritance
  3. Homework:
    1. Change main.py read_map() method to handle ENEMY_FLAG to create EnemyTank there.
    2. Create EnemyTurret class which inherits from Turret class. Override the image loading code to use the right image.
    3. Change the way Tank class create a Turret so that it can be overriden by EnemyTank to load EnemyTurret class instead. Look at how we override Tank.load_images() method inside EnemyTank class.

Details

Date:
June 5, 2021
Time:
12:00 pm - 1:00 pm
Event Categories:
,
Verified by MonsterInsights