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