- This event has passed.
11 AM – Python Game Development
July 18, 2020 @ 11:00 am - 12:00 pm
- We added Fireball sprite in the Birdie game.
- We made the Fireball spawn where the player is located.
- We made the Fireball face left and right
- Homework:
- Currently if user press down the space key, there will be too many Fireballs created. We need to put “cool-down” period before user can launch another fireball.
- To put cool-down period, we need to use the same technique as how we delay creation of bird and cloud. In the bird creation, we use create_bird_timer and Birdie.CREATE_BIRD_DELAY to delay the creation of the bird.
- Put your code inside control_fireball_creation function.
- Currently if user press down the space key, there will be too many Fireballs created. We need to put “cool-down” period before user can launch another fireball.