« All Events
10 AM – Python Game Dev – Indo – Gamas
October 26 @ 10:00 am - 11:00 am
Today We Did
- We spawn the tube from right to left.
- We spawn the tube once every 3 seconds.
- We flip the tube according to direction.
Homework
- Change the code inside create_tube(self) so it can spawn 2 tubes at a time.
- One should be on the top and one should be on the bottom.
- Play around with the y coordinate when creating a tube. Think of negative y coordinate.
- Add hitbox in both tube and player.
- Add coin.py sprite and display the coin on the screen. Make sure it animates.