- This event has passed.
6 PM – Advanced Python Game Development – Sebastian
May 14 @ 6:00 pm - 7:00 pm
Today We Did
- Continued creating the enemy class
- Reviewed dictionaries to shorten the amount of code we need
- Reviewed static methods (static just means you don’t need to make an object to call the method)
- You can always find the code we wrote in class in my Gitlab repository here:
https://gitlab.com/gsugiart/tue-6-pm-sebastian-apr-2024 - AYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/
- In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
- Please be ready to answer the homework question in class next week.
- Homework: The homework will only be one question, so I want you to spend 5-10 minutes trying to find the answer before you give up. It’s ok if you come to class without knowing the answer, but I want you to try and really think about
- Question: How many times is update called for every class that has it?
- Hints:
- The answer is an integer, a whole number like 1/2/3/etc.
- The answer is stored in a variable that we created.
- Another way of thinking about this is how exactly pygame determines how many images are drawn, which we have to tell it somehow in main.py