« All Events
4:30 PM – Python Game Development – Bill
October 16, 2022 @ 4:30 pm - 5:30 pm
Today We:
- Continued to work on the dragon birdie project
Your HW:
- Create a Cloud class like we did for the bird
- The cloud image assets location should be “assets/cloud1.png”
- Make the image be randomly selected like the bird by making the number part of “cloud1.png” be a random number between 1 and 3
- Make the Cloud move left or right depending on a direction variable like the bird class
- Create a cloud_group attribute like we did for the bird group
- Create a cloud_creation_timer to spawn a new cloud every 5 seconds with a random Y attribute