- This event has passed.
5:30 PM – Python Game Development – Bill
January 20, 2023 @ 5:30 pm - 6:30 pm
Today We:
- Made the tubes spawn in pairs (top and bottom)
- Randomized the heights of the tubes
- Added a new direction attribute of the tube class that controls whether or not the image will be flipped
Your HW:
- Add a rect hitbox for the tube class and player class
- Make it so when the player hits a tube (you might have to comment out the gravity to test) the player disappears