American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

7 PM – Python Game Development

October 15, 2021 @ 7:00 pm - 8:00 pm

Today

  • We went over the projects
  • We reviewed how Flappy Duck flies in the air
  • We went over how to add gravity.
  • Review all these things and your final project with your teammate!

Homework

  • Add add a couple different modes to your config file and add a new “”mode” attribute to Hunter/Player:
    • STANDING, JUMPING_UP
    • The sprite starts in the STANDING mode.
      • The sprite can only jump when it is in standing mode.
    • When you make the sprite jump, switch it to JUMPING_UP mode, and modify the falling_speed attribute to make it negative so it starts moving up.
    • When the player’s bottom hits the bottom of the screen switch the mode to STANDING mode.
      • When the player is in standing mode it can’t fall anymore.
    • When you’ve implemented this correctly, the sprite shouldn’t fall below the bottom of the screen.

Details

Date:
October 15, 2021
Time:
7:00 pm - 8:00 pm
Event Category:
Verified by MonsterInsights