- This event has passed.
7 PM – Python Game Development
April 1, 2021 @ 7:00 pm - 8:00 pm
- We continued with Flappy Duck project.
- We added the Tube on the top of the screen starting from the right side of the screen going to the left.
- We randomize the height of the Tube by displaying the tube in a different Y coordinate.
- Homework:
- In Flappy Duck project, make the Flappy Duck flaps its wing
- Look at how we flap the player’s wing (red dragon) in the Birdie project. Don’t follow example from the bird.py, but follow from player.py.
- You need to create a list in the __init__
- You need to create a class attribute self.image_index
- And in the update() function you need to get the next image from the list using the index.