Pygame Tutorial 2 - Drawing and Graphics

Subscribers:
50,600
Published on ● Video Link: https://www.youtube.com/watch?v=WC6Yuzw7IYc



Duration: 0:00
445 views
22


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:    • How to set up Python on Visual Studio...  

How to install Pygame:    • How to Install Pygame  

Pygame Tutorial Playlist:    • Pygame Python Game Programming Tutorial  

Github for Pygame Tutorial Code: https://github.com/ImKennyYip/pygame

Python Object Oriented Programming Playlist:    • Python Object Oriented Programming  

Python Game Projects Tutorial Playlist:    • Python Game Programming Tutorial  

Pygame Website: https://www.pygame.org/