« All Events
1 PM – Python Game Development
May 15, 2021 @ 1:00 pm - 2:00 pm
- We went over the homework to add the downwards tube.
- We slowed down the creation of tubes.
- I’ve uploaded the source code here.
- Homework:
- Move all the constants like “HEIGHT”, “WIDTH”, etc., into a new file called “config.py” and make sure the code still works.
- Create a new sprite class called “Player” and make move it across the screen. You can base the class of of the Birdie “Player” class. You should use the “Green duck #1-01.png” for the image.
- Integrate the player inside the “main.py” file so you can see the player appear on the screen.