« All Events
7 PM – Python Game Development – Sebastian
August 14, 2023 @ 7:00 pm - 8:00 pm
Today We Did
- Finished adding static variables to Bird class
- Began creating the player class
- Learned how to get keyboard input from players to move our Player bird
- 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
- Please be sure to push your homework before Sunday night
- Homework: Use this awesome new way to get a list of booleans representing all keys pressed (keys_pressed = pygame.key.get_pressed()) to navigate in any direction on the screen instead of just up like we did in class.
- Remember, you will be taking advantage of the special key names like “pygame.K_w” to recognize which keys were pressed