- This event has passed.
1 PM – Python Game Development
February 5, 2022 @ 1:00 pm - 2:00 pm
Today:
- We went over the homework to add the shield on top of the tank.
- We corrected the rotation of the turret.
Homework:
- Add a new attribute “self.degrees_rotated” to the shield, and every update method/frame increase the degrees rotated by one.
- Rotate the original image by the “self.degrees_rotated” value, and draw this image on the screen.
- Center the rotated shield on the center of the tank by positioning it with respect to the center of the shields target location using the same method we used to rotated the turret correctly.