American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

11 AM – Python Game Development

July 18, 2020 @ 11:00 am - 12:00 pm

  1. We added Fireball sprite in the Birdie game.
  2. We made the Fireball spawn where the player is located.
  3. We made the Fireball face left and right
  4. Homework:
    1. 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.
      1. 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.
      2. Put your code inside control_fireball_creation function.

Details

Date:
July 18, 2020
Time:
11:00 am - 12:00 pm
Event Categories:
,