- This event has passed.
4 PM – Python Game Development
April 11, 2020 @ 4:00 pm - 5:00 pm
- We completed Birdie project.
- We reviewed Birdie project.
- We reviewed each character that you add in the project, it needs to inherit from pygame.sprite.Sprite class.
- Each sprite will need to have update(self) function.
- The order of the parameter for the collide detection has to be according to the order of sprite group that you pass.
- We started FlappyDuck project.
- Download all the assets from google drive.
- Create Player class inside player.py class.
- Load Green Duck 01.png file.
- screen.blit the image in the update().
- Renamed the pygame_class_template.py (from the google drive) into main.py.
- Inside the main.py
- Create player_group and add player sprite into this group.
- In the game_loop(), call the player_group.update()