- This event has passed.
4 PM – Python Game Development
August 6, 2022 @ 4:00 pm - 5:00 pm
Today:
- We went over the homework.
- We added animation to the birds.
- We added a delay to slow down the flapping of wings for the birds.
- Note: I pushed the code to this branch: https://gitlab.com/gsugiart/dragon_birdie/-/blob/SAT_4PM_Chester
Homework:
- Create a new sprite file “player.py” and sprite “Player” to represent the dragon-birdie player which the user will control. This should appear on the screen using the “assets/player-1.png” image. Make sure to resize so it appears about the same size as a bird.
- Add logic so the player will flap its wings. You can use a similar technique we used for “bird.py”. In this case there will be 4 different images “player-1.png” through “”player-4.png”.