American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

4 PM – Python Game Development

April 11, 2020 @ 4:00 pm - 5:00 pm

  1. We completed Birdie project.
  2. We reviewed Birdie project.
    1. We reviewed each character that you add in the project, it needs to inherit from pygame.sprite.Sprite class.
    2. Each sprite will need to have update(self) function.
    3. The order of the parameter for the collide detection has to be according to the order of sprite group that you pass.
  3. We started FlappyDuck project.
    1. Download all the assets from google drive.
    2. Create Player class inside player.py class.
      1. Load Green Duck 01.png file.
      2. screen.blit the image in the update().
    3. Renamed the pygame_class_template.py (from the google drive) into main.py.
    4. Inside the main.py
      1. Create player_group and add player sprite into this group.
      2. In the game_loop(), call the player_group.update()

Details

Date:
April 11, 2020
Time:
4:00 pm - 5:00 pm
Event Categories:
,