American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

7 PM – Python Game Development – Sebastian

July 31, 2023 @ 7:00 pm - 8:00 pm

Today We Did
  1. Explored the topic of class variables
  2. Animated our birds to flap when flying
  3. You can always find the code we wrote in class in my Gitlab repository here:
    https://gitlab.com/gsugiart/mon-7-pm-dragon-birdie/-/tree/MON-7PM-Sebastian?ref_type=heads
  4. In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
  1. You have all been creating great commit messages which are very brief in the beginning, then perfectly explain each detail. Keep this up, I’m very proud of everyone for this.
  2. Homework: As we mentioned in class, you will be making your “create_cloud()” method. Here’s a template to help you get started:
def create_cloud(self):
# self.create_cloud_timer goes down by 1 each time
# if timer reaches 0, reset it, and do all of the following:
# make random y from 0 - 500 for each new cloud, x = 50
# instantiate cloud
# add cloud to group
# where should we call create_cloud()?
pass

Details

Date:
July 31, 2023
Time:
7:00 pm - 8:00 pm
Event Categories:
,
Verified by MonsterInsights