« All Events
7 PM – Python Game Development – Sebastian
November 13, 2023 @ 7:00 pm - 8:00 pm
Today We Did
- Added audio, and background music
- Made rectangle move with image to handle full group collisions for everything
- Created placeholder methods for all future game modes, including the drawing of new images & text
- 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 - In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
- Homework: Draw the score and the “flappy bird logo”. You won’t be able to see either, so just give it your best try and please make sure to push your code.
- Inside the draw_score method we made in class:
- pygame font’s method called .render() (look at how we used it last time)
- blit the returned value from .render()
- Inside the game_landing_page method we made in class, blit “flappy bird” logo (self.logo_img) on the middle of the screen