American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

1 PM – Python Game Development

January 29, 2022 @ 1:00 pm - 2:00 pm

Today:

  • We went over the homework to add the shield powerup.
  • We fixed the turret to point directly at the mouse by referencing the center of the turret.
  • We went over the technique to rotate the turret correctly bytes  referencing the center of the turret.

Homework:

  • Create a new sprite class “Shield” using the “Get_Shield_Player_1.png” image.
  • Add a method handle_tank_shield_powerup_collision.  When the player tank collides with the shield powerup, make the shield appear on the screen.
  • When it appears, make the shield appear the same location as the player tank.  Keep the location of the shield synced with the location of the player tank.

Details

Date:
January 29, 2022
Time:
1:00 pm - 2:00 pm
Event Category:
Verified by MonsterInsights