American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

9 AM – Python Game Development

August 22, 2020 @ 9:00 am - 10:00 am

  1. We continued to work through Bird class.
  2. We integrated Bird class into main.py
  3. Homework:
    1. In Bird __init__ function do the following
      1. create a list for all the bird images:
        1. assets/bird01_A.png
        2. assets/bird02_A.png
        3. assets/bird03_A.png
        4. assets/bird04_A.png
      2. Use random module to choose a different image everytime you create a bird.
      3. Use this random image to load.
    2. If you do it properly when you restart the game after the code is done, you should see a lot of different kind of birds spawning in the screen.

Details

Date:
August 22, 2020
Time:
9:00 am - 10:00 am
Event Categories:
,