American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

1 PM – Python Game Development

December 11, 2021 @ 1:00 pm - 2:00 pm

Today:

  • We went over the homework to add Brick sprite and move the tank.
  • We made it so the tank can only move one direction at a time.
  • We rotated the turret to face the correct direction.

Homework:

  • Create a new sprite for the turret using the image “assets/Player_2/Type_1/PlayerTank_2_1_Turret_0.png”.
  • Add the self.turret sprite as an attribute of the Tank class in the __init__ method.  When calling the update method for the Tank class, also call the self.turret.update()
  • Update the location of the Turret sprite to keep it in sync with the location of the  Tank sprite.

Details

Date:
December 11, 2021
Time:
1:00 pm - 2:00 pm
Event Category:
Verified by MonsterInsights