American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

10 AM – Python Game Development

July 18, 2020 @ 10:00 am - 11:00 am

  1. We restrict the movement of player so it is not out of the screen.
  2. We added 2 mode, GAME_STARTED and GAME_NOT_STARTED.
  3. We made the sound effect volume less loud.
  4. Homework:
    1. Create a function, “handle_game_in_session(self)”
      1. Inside the function, call the following functions
        1. self.create_all_sprites()
        2. self.handle_all_sprites_collission()
    2. Crete a function, “handle_game_not_in_session(self)”
      1. Inside the function, call the following functions
        1. self.control_bird_creation()
        2. self.control_cloud_creation()
    3. Change game_loop(self):
      1. Based one self.mode, you need to either call self.handle_game_in_session(self) or self.handle_game_not_in_session(self)
      2. You probably need to remove some of the code in game_loop to make sure there are no codes being called more than once.

Details

Date:
July 18, 2020
Time:
10:00 am - 11:00 am
Event Categories:
,