American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

4 PM Python Game Development

February 22, 2020 @ 4:00 pm - 5:00 pm

  1. We continued with Birdie project.
    1. We call self.kill() when the bullet is outside of the screen
    2. We call self.kill() when the bird is outside of the screen.
    3. We made the player controllable by W, A ,S ,D keys in the keyboard.
  2. Homework:
    1. In the Player class
      1. Add self.score = 0 in the init.
    2. Create a new class “Cloud”
      1. Download 3 cloud images from https://drive.google.com/drive/u/0/folders/117K-CUIzW-VTEjqrtuzhLU73EA5RIofc 
      2. In the Cloud class, load these 3 images.
      3. In the main.py, create a self.cloud_group
      4. Every 3 seconds, create a random class and make it appear on the screen.

Details

Date:
February 22, 2020
Time:
4:00 pm - 5:00 pm
Event Categories:
,