American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

5 PM – Python Game Development – Darin

April 8 @ 5:00 pm - 6:00 pm

What We Did Today:

  1. Changed the direction of the fireball depending on the player direction
  2. Made the birds disappear when the fireball collided with them
  3. Re explained why the timer works differently for the fireball
  4. Added an extra feature to the parameter for groupCollide so that different things can happen when two different sprites collide
  5. Added a score variable to keep track and learnt how to make the text for the score appear using pygame.font.SysFont()
  6. Will learn about game modes next week!


  • # for your homework, I want you to make a new method called  create_fireball_with_skill that lets you shoot 2 fireballs at once when you press the e key (instead of the space key)
    # You can check if the e key is pressed using 
    if keys_pressed[pygame.K_e]:
    # You don't have to change anything compared to the create_fireball method, you just need to add an extra fireball into the fireball group at the same time but with a different y position.
    # We will go over this in more detail on Monday!

    when you are done submitting this, by Sunday night I will leave comments to your homework so you will need to update your project from the upper left, and if it asks you to merge, merge yours


If you have any questions, feel free to email me at


April 8
5:00 pm - 6:00 pm
Event Categories:
Verified by MonsterInsights