American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Advanced Python Game Development – Sebastian

July 16 @ 7:00 pm - 8:00 pm

Today We Did

  1. Modify Turret to follow your mouse
  2. Add animation to the Tank
  3. Find the code for the Tank Game here: https://gitlab.com/latishasumardy/tankgame_tues6pm 
  4. AYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/
  5. In case you need anything, please email me at latisha@ayclogic.com
Homework
1. Create a file called bullet.py for the Bullet class which:
    a. uses the assets/Bullet.png for the image
    b. move to the left at a speed of 5
2. In main, create the bullet_group. 
3. In a new function called handle_player_bullet_creation: If you click with your mouse, create a new bullet and add it to the group. You can use the tank's location for where the bullet starts for now. Only allow the player to create a new bullet every 2 seconds (add a timer)

Details

Date:
July 16
Time:
7:00 pm - 8:00 pm
Verified by MonsterInsights