American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

10 AM – Indo – Python Game Development – Joel

October 28, 2023 @ 10:00 am - 11:00 am

Today we did:
  1. Created a new file and class for Player, and did the animation for player using the 4 images available. Player has its own flap timer, and in the update function, we made sure that we can control the player using the w and a keys.In the bird class, we made sure that if the bird was going to the left, then we would flip the image to make it look nicer.

    In the main, we created a player, and made a new player_group (GroupSingle), added the player inside, and called the update function.

Homework:
  1. Make sure that the user can control the player using the ‘S’ and ‘D’ keys as well.

Details

Date:
October 28, 2023
Time:
10:00 am - 11:00 am
Verified by MonsterInsights