pygame tutorial. In the previous two videos, we went over how to draw images and move the player around by responding to keyboard key presses.
When moving the player around, it is possible that the player will move past the boundaries of our game window. The player would still exist but just not be visible since the x and y positions have gone off the game window boundaries. In this video we add checks to prevent the player from moving past the edges of the game window.
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
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