American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Python Game Development – Sebastian

October 30, 2023 @ 7:00 pm - 8:00 pm

Today We Did
  1. Added more functionality to player class
  2. Flapping wings by cycling through images list
  3. Added gravity by decrementing y attribute by a constant value
  4. You can always find the code we wrote in class in my Gitlab repository here:
    https://gitlab.com/gsugiart/MON-7PM-FlappyBird/-/tree/Sebastian?ref_type=heads
  5. In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
  1. Homework: Make your Player “jump” every time you click the space key
    1. Inside player.py, in update(), after you check if the user clicks space, set the fall_speed attribute to -JUMP_HEIGHT

Details

Date:
October 30, 2023
Time:
7:00 pm - 8:00 pm
Event Categories:
,
Verified by MonsterInsights