- This event has passed.
11 AM – Python Game Development
October 10 @ 11:00 am - 12:00 pm
- We continued with FlappyDuck project.
- Create 2 tubes, one on the bottom, and one on the top of the screen.
- Inside tube.py:
- in the __init__ parameter, change from the “direction” parameter into “height” parameter.
- Inside __init__ function, you want to control the height of the image by using pygame.transform.scale(…).
- Inside main.py where you create the tube, because we change the Tube.__init__ to have “height” instead of “direction”, you want to pass 100 as the height.