In this Python tutorial I code an endless vertical platformer using the PyGame module. I'm going to explain how to add keyboard inputs to control the player
Code & assets on my website: http://codingwithruss.com/gamepage/Jumpy
Alt link on github: https://github.com/russs123/Jumpy
Credits for assets used:
https://free-game-assets.itch.io/free-objects-for-2d-jump-games
https://pixelfrog-assets.itch.io/pixel-adventure-1
https://pixelfrog-assets.itch.io/pixel-adventure-2
https://www.dreamstime.com/stock-music-sound-effect/
https://www.chosic.com/download-audio/27247/
Check out my other PyGame tutorials:
Scrolling Shooter coding tutorial: https://youtu.be/DHgj5jhMJKg
Space Invaders coding tutorial: https://youtu.be/f4coFYbYQzw
Flappy Bird coding tutorial: https://youtu.be/GiUGVOqqCKg