American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Python Game Development

April 1, 2021 @ 7:00 pm - 8:00 pm

  1. We continued with Flappy Duck project.
    1. We added the Tube on the top of the screen starting from the right side of the screen going to the left.
    2. We randomize the height of the Tube by displaying the tube in a different Y coordinate.
  2. Homework:
    1. In Flappy Duck project, make the Flappy Duck flaps its wing
    2. Look at how we flap the player’s wing (red dragon) in the Birdie project. Don’t follow example from the bird.py, but follow from player.py.
    3. You need to create a list in the __init__
    4. You need to create a class attribute self.image_index
    5. And in the update() function you need to get the next image from the list using the index.

Details

Date:
April 1, 2021
Time:
7:00 pm - 8:00 pm
Event Categories:
,