American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

3:30PM – Python Game Development

February 25, 2021 @ 3:30 pm - 4:30 pm

  1. Today we Did:
    1. Made all Birds move to the right
    2. Add speed to Bird class
    3. Created create_bird function in main.py
    4. Add create_bird_timer to init so that we can slow down the creation of birds
    5. Randomize the type of bird that is created
  2. Homework:
    1. create cloud.py which will hold the Cloud class (Do it just like bird.py). In main.py, make a function called create_cloud which will do the same thing as create_bird except it will show 1 cloud every 3 seconds. You will also need to make cloud_group, and then repeat what you did in game_loop for the birds except for the clouds

If you have any questions, please send an email to latisha@ayclogic.com

Details

Date:
February 25, 2021
Time:
3:30 pm - 4:30 pm