« All Events
SAT – 9 AM – Python Game Dev – Indo – Gamas
May 25 @ 9:00 am - 10:00 am
Today We Did
- We create create_bird and create_cloud methods.
- We made sure the clouds glide into the screen.
- We added direction to the bird.
Homework
- Change create_bird method
- Randomize LEFT or RIGHT direction of the bird.
- If direction is LEFT, you have to set the bird_x = WIDTH
- Create player.py and display on the screen.
- Create Player class
- Load up the player image
- blit the player image inside update method.
- Inside main.py
- create player_group in __init__()
- player_group.update() in game_loop()
- create Player class and add to the group.