pygame tutorial. In the previous few videos, we went over how to draw images, move the player around by responding to keyboard key presses, and prevent the player from going past the game window boundaries. In this video, we go over game physics with gravity and velocity to enable the user to jump when pressing the up arrow button. We also create a function to simplify loading images, and update the player image depending on the direction the player is facing, and whether or not the player is jumping.
How to install Python for VS Code: https://youtu.be/9o4gDQvVkLU?si=hujtQkP18gBzOXKZ
How to install Pygame: https://youtu.be/5uOTEOJ48G8
Pygame Tutorial Playlist: https://youtube.com/playlist?list=PLnKe36F30Y4alXrjE6oL5VWtDsYdONpfj&si=-qNgHH_pphIoiTiU
Click on the link below to access the images used in the tutorial!
Github for Pygame Tutorial Code: https://github.com/ImKennyYip/pygame
Python Object Oriented Programming Playlist: https://www.youtube.com/playlist?list=PLnKe36F30Y4Ykmi2jE28BZahMgPAV3Dzv
Python Game Projects Tutorial Playlist: https://www.youtube.com/playlist?list=PLnKe36F30Y4bamRi07AOYS1qGDv_2MGMW
Pygame Website: https://www.pygame.org