American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Python Game Development

December 10, 2020 @ 7:00 pm - 8:00 pm

  1. We made the fireball to be launchable when the user press SPACE key.
  2. We made the fireball face left and right according to player.x, player.y and player.direction.
  3. Homework:
    1. currently the fireball is launched too frequent which make the game super easy. We have to change the code in main.py create_fireball() function to slow down the creation of fireball. Look at how we slow down the creation of bird and cloud. It is a similar way. But this time, you have to take into consideration that user also has to press SPACE key before the fireball is launched.

Details

Date:
December 10, 2020
Time:
7:00 pm - 8:00 pm
Event Categories:
,