American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

1 PM – Python Game Development

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

  • We went over the homework to draw the blue bird onto the background and reviewed how the code works so far.
  •  We learned/reviewed how the pygame’s coordinate system works.
  • We resized the blue bird with the pygame.transform.scale function.
  • We changed the size of the screen window where we’re drawing all the images.
  • We “moved” the blue bird (bird1) across the screen. We learned about what “FPS” means and how the game loop simulates movement.
  • We created the green bird (bird2) which started at the origin (upper left corner) and moved down.  You can find the source code here.
  • Homework:
    • Create a third bird using the “bird03_A.png” file.  This bird should start at the origin and move down and to the right towards the lower right corner of the screen.  You should follow the the existing patterns for how we created and moved bird1 and bird2.

Details

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