American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

SAT – 9 AM – Python Game Dev – Indo – Gamas

May 25 @ 9:00 am - 10:00 am

Today We Did
  1. We create create_bird and create_cloud methods.
  2. We made sure the clouds glide into the screen.
  3. We added direction to the bird.
Homework
  1. Change create_bird method
    1. Randomize LEFT or RIGHT direction of the bird.
    2. If direction is LEFT, you have to set the bird_x = WIDTH
  2. Create player.py and display on the screen.
    1. Create Player class
    2. Load up the player image
    3. blit the player image inside update method.
    4. Inside main.py
      1. create player_group in __init__()
      2. player_group.update() in game_loop()
      3. create Player class and add to the group.

Details

Date:
May 25
Time:
9:00 am - 10:00 am
Verified by MonsterInsights