« All Events
12 PM – Advanced Python Game Development
June 5, 2021 @ 12:00 pm - 1:00 pm
- We created Wall Explosion animation.
- We created Enemy Tank via inheritance
- Homework:
- Change main.py read_map() method to handle ENEMY_FLAG to create EnemyTank there.
- Create EnemyTurret class which inherits from Turret class. Override the image loading code to use the right image.
- 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.