American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

1 PM – Python Game Development

January 9, 2021 @ 1:00 pm - 2:00 pm

  • Today we finished setting up the Birdie project and configured it to work with python and installed the pygame library.
  • We read through the initial code and modified it to draw the blue background.
  • Your homework is to draw a Bird and the blue background.
    • You need this line of code to load the bird image:
      • self.bird1 = pygame.image.load('assets/bird01_A.png')
    • You need this line of code to “draw” this image over the blue background:
      • self.screen.blit(self.bird1, (0, 0))
  • You can find the “src” files from today here.

Details

Date:
January 9, 2021
Time:
1:00 pm - 2:00 pm
Event Categories:
,