Loading Events

« All Events

  • This event has passed.

10 AM – Python Game Development

October 10 @ 10:00 am - 11:00 am

  1. We continued with FlappyDuck:
    1. We made the player switch the costume when it hits the tube.
  2. Homework:
    1. Choose the song for your final project if you have not done so.
    2. In Flappy Duck project:
      1. Create a new file: score_line.py
      2. Inside the file, create a new class called ScoreLine.
      3. the class should inherits from pygame.sprite.Sprite.
      4. Inside the __init__, create a self.rect (the hitbox) with width of 5 pixel and height of the HEIGHT of the screen.
      5. Inside the update() function, draw the rectangle on the screen.


October 10
10:00 am - 11:00 am
Event Categories: