American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Python Game Development – Sebastian

November 14, 2023 @ 6:00 pm - 7:00 pm

Today We Did
  1. Class set up new repository
  2. Blitted background image
  3. Created Tube class
  4. You can always find the code we wrote in class in my Gitlab repository here:
    https://gitlab.com/gsugiart/tue-6-pm-dragon-birdie/-/tree/TUE-6PM-Sebastian
  5. In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
  1. NOTE: No class next week (11/21) due to AYC Logic’s Holiday schedule (early Thanksgiving break)
  2. Homework: Finish creating and updating a tube using our new class.
    1. Create tube (follow instructions from my latest push):
      def create_tube(self):
          """
           decrement timer by 1
           if timer reaches 0,
              reset timer to CREATE_TUBE_DELAY
              tube1_y = random y from list with -200, -250, 300
              create tube object & pass in WIDTH, tube1_y, 1, screen
              add tube to group
          """
    2.  Inside game loop:
      # Call create_tube
      # Update tube_group attribute

Details

Date:
November 14, 2023
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights