American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

5 PM – Python Game Development – Joel

September 3 @ 5:00 pm - 6:00 pm

Today we did:
  1. We started DragonBirdie.
Homework:
  1. In the Bird class, in the constructor, load a bird image’s path using pygame.image.load and store it in a new attribute called self.image. Transform it with (100, 70).
  2. In the update function, blit the the self.image with the self.x and self.y.
  3. In the main.py, since we already blit in the update function, there is no need to blit the self.bird3 again here, and you just need to call the update function.
  4. The result should be a bird that is moving to the right.

If you have any questions, feel free to email me at joel@ayclogic.com.

Details

Date:
September 3
Time:
5:00 pm - 6:00 pm