American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

4:30 PM – Python Game Dev – Bill

March 21 @ 4:30 pm - 5:30 pm

Gamas Sub

Today We Did
  1. We added code that will make fireball launch every 2 seconds and spawn at the player’s location.
  2. We added collision detection between fireball and bird.
Homework
  1. Add collision detection between player and bird. If they collide, make only the player disappear.
  2. Inside Fireball class,
    1. add code to flip the image when direction is LEFT.
    2. add code to make the sprite goes to the left when direction is LEFT.
    3. Inside main.py when you create a Fireball, pass player.direction

Details

Date:
March 21
Time:
4:30 pm - 5:30 pm