American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Python Game Development – Sebastian

December 19, 2023 @ 6:00 pm - 7:00 pm

Today We Did

  1. Reviewed the math and logic to blit button
  2. Reviewed how to detect mouse clicks inside button radius
  3. You can always find the code we wrote in class in my Gitlab repository here:
    https://gitlab.com/gsugiart/tue-6-pm-flappy-bird/-/tree/Sebastian?ref_type=heads
  4. Keep in mind AYC Logic’s observed holidays are found here:
    https://www.ayclogic.com/observed-holidays/
  5. In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
  1. Homework: Complete the draw_credit_button the way we discussed in class:

    def draw_credit_button(self):
    “””
    credit_button_x: same as play_button_x (but same distance scooted RIGHT)
    credit_button_y: same as play_button_y
    blit credit button at calculated x & y
    check mouse bounds same way as play button
    “””

Details

Date:
December 19, 2023
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights