« All Events
3:30 PM – Adv Python Game Dev – Latisha
January 20 @ 3:30 pm - 4:30 pm
Today We Did
- Made bullet destroy brick wall.
- Fixed directions values inside config.py
- Explain next homework.
Homework
- Change code inside main.create_enemy_bullet() method, so when you create a bullet, you need to pass the enemy_turret direction to the newly created bullet.
- Inside enemy_turret.py, you need to override calculate_angle(self) so it will point the direction of player.
- Inside enemy_tank.py, when you create_turret(self), you have to pass player_tank
- Inside main.py, when you create enemy_tank, you have to pass the player_tank.