- This event has passed.
6 PM – Python Game Development – Sebastian
December 19, 2023 @ 6:00 pm - 7:00 pm
Today We Did
- Reviewed the math and logic to blit button
- Reviewed how to detect mouse clicks inside button radius
- 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 - Keep in mind AYC Logic’s observed holidays are found here:
https://www.ayclogic.com/observed-holidays/ - In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
- 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
“””