« All Events
12 PM – Python Game Development
October 24, 2020 @ 12:00 pm - 1:00 pm
- Homework
- Inside main.py, create self.score =0
- Inside main.py, whenever the bird and the scoreline collide, you want to increase self.score by 1
- Create coin.py
- Create Coin class which inherits from pygame.sprite.Sprite
- Load coin_1.png and coin_2.png from assets folder
- Integrate Coin class into main.py