- This event has passed.
5 PM – Python Game Development – Darin
April 15 @ 5:00 pm - 6:00 pm
What We Did Today:
- Added the game landing page using game modes
- Blitted out the play button on screen and enabled mode switching when the screen is clicked
- 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.
- 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.
- You have to make a new method for all of this, perhaps called self.create_giant_fireball().
- 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.