Loading Events

« All Events

  • This event has passed.

7 PM – Python Game Development

February 24, 2021 @ 7:00 pm - 8:00 pm
  • We went over the homework to launch fireballs when user presses the space key.
  • We made the player flap its wings
  • I’ve uploaded the source code here.
  • Homework
    • Make the player flap its wings more slowly, every 5 frames, so you should define a new variable, see below.  You should use the same strategy to delay the player flapping it’s wings as we use to delay the bird flapping their wings.
      PLAYER_FLAP_DELAY = 5
    • Make the fireballs move in the direction the player is facing.

Details