« All Events
7 PM – Python Game Development – Sebastian
September 11, 2023 @ 7:00 pm - 8:00 pm
Today We Did
- Fixed player direction code
- Added cloud types
- Destroy clouds & birds when they go off our screen, so we don’t have millions of unseen images, slowing down our game
- Began setting up variables for different game modes
- You can always find the code we wrote in class in my Gitlab repository here:
https://gitlab.com/gsugiart/mon-7-pm-dragon-birdie/-/tree/MON-7PM-Sebastian - In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
- Homework: View my code in the repository linked above to get a better idea of what I’m talking about.
- In your constructor, create a new attribute called game_mode which will be set to one of the two game modes we created in class (GAME_LANDING_PAGE, and GAME_IN_SESSION). It’s your job to choose which global variable it should be set to in the beginning of the game (where should the game start at?).