Back to Browse

Pygame Tutorial 2 - Drawing and Graphics

7.4K views
Mar 31, 2025
8:55

pygame tutorial. In this video, we go over colors and the coordinate system. In pygame, we can represent colors using the English word as a string, using the hex value as a string, or using the RGB (red green blue) value as a tuple of integers. With the coordinate system, every rectangle (including the window itself) is drawn starting from the top left corner. To draw a rectangle, we need to specify the x and y position on the screen and the width and height. How to install Python for VS Code: https://youtu.be/9o4gDQvVkLU?si=hujtQkP18gBzOXKZ How to install Pygame: https://youtu.be/5uOTEOJ48G8 How to install Pygame Community Edition: https://youtu.be/ZKi7Z7JRN6c 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 ⭐ If you enjoyed the tutorial and would like to support the channel, you can do so here 💖: https://buymeacoffee.com/kennyyipcoding

Download

1 formats

Video Formats

360pmp49.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Pygame Tutorial 2 - Drawing and Graphics | NatokHD