American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

5 PM – Python Game Development – Darin

April 15 @ 5:00 pm - 6:00 pm

What We Did Today:

  1. Added the game landing page using game modes
  2. Blitted out the play button on screen and enabled mode switching when the screen is clicked
  3. We also corrected and fixed how to make a skill fireball shot.

Homework:

Your homework is to make a giant fireball whenever the b key is pressed.

  1. You can only use the giant fireball after 100 milliseconds, so use a different timer like self.giant_fireball_timer = GIANT_FIREBALL_TIMER where GIANT_FIREBALL_TIMER = 100.
  2. You have to make a new method for all of this, perhaps called self.create_giant_fireball().
  3. For the fireball adding itself, you only need to change the size, but you need to make a new group and a new group collide for the giant fireball so that it doesn’t disappear when touching enemy birds.

Notes:

You can contact me via ddjapri@ayclogic.com for any questions or concerns.

Details

Date:
April 15
Time:
5:00 pm - 6:00 pm
Event Categories:
,
Verified by MonsterInsights