American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Python Game Development – Sebastian

October 31, 2023 @ 6:00 pm - 7:00 pm

Today We Did
  1. Handled new logic for drawing play button
  2. Learned how to check mouse position and if mouse was clicked
  3. 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
  4. In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
  1. Homework: Draw title to finish the game landing page game mode.
    1. Inside our constructor, make a new attribute called title which holds a pygame image of our title “birdie_title.png”
    2. Inside draw_title() method, calculate its x and y so it’s placed above the play button we made earlier
    3. Blit title image to the x and y that were calculated.

Details

Date:
October 31, 2023
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights