American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

3 PM Python Game Development

July 27, 2019 @ 3:00 pm - 4:00 pm

  1. We went over how to move the bullet to the left or right according to the direction.
  2. We removed bullets when it is no longer visible on the screen.
  3. We moved the bullets to appear in front of the player mouth.
  4. We created hitbox for both bullets and birds.
  5. We detect collision between bullet and bird. When they collide, remove the bird from the game.
  6. Homework:
    1. Add the player’s hitbox.
    2. Detect collision between the player and the bird. If they collide, print “Player is dead” in the shell.

Details

Date:
July 27, 2019
Time:
3:00 pm - 4:00 pm
Event Categories:
,