In this Python tutorial I code an endless vertical platformer using the PyGame module. I'm going to explain how to assign different game states and how to reset the game after a game over scenario. Code & assets on my website: Alt link on github: Credits for assets used: Check out my other PyGame tutorials: Scrolling Shooter coding tutorial: Space Invaders coding tutorial: Flappy Bird coding tutorial:
Hide player controls
Hide resume playing