American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

3:30 PM – Adv Python Game Dev – Latisha

January 20 @ 3:30 pm - 4:30 pm

Today We Did
  1. Made bullet destroy brick wall.
  2. Fixed directions values inside config.py
  3. Explain next homework.
Homework
  1. 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.
  2. Inside enemy_turret.py, you need to override calculate_angle(self) so it will point the direction of player.
  3. Inside enemy_tank.py, when you create_turret(self), you have to pass player_tank
  4. Inside main.py, when you create enemy_tank, you have to pass the player_tank.

Details

Date:
January 20
Time:
3:30 pm - 4:30 pm
Verified by MonsterInsights