American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

11 AM – Python Game Development

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

  1. We made the cloud appear less frequently.
  2. We fixed the problem where the bird turn to the right after if moved to the left.
  3. We made the cloud moved slower.
  4. Homework:
    1. Create Fireball class
    2. It has attributes x,y, size, direction and screen.
    3. Copy Bird.py and rename to Fireball.py
      1. Change the image name
      2. You don’t need the _A.png and _B.png
    4. Integrate Fireball class into main.py
      1. Import the class on the top of the file.
      2. Create fireball_group
      3. Add a new Fireball into the fireball_group.
      4. Inside the game_loop() call fireball_group.update()

Details

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