In this video I will explain how to work with rectangles in Pygame.
I'll go over the two methods of creating them, which is to create them from scratch using the .Rect class or by creating a rectangle from an existing object such as an image using the .get_rect() method.
I'll also explain how to move rectangles and adjust their properties after they have been created.
Take a look at the tutorial on my website for a reference on working with rectangles here: http://www.codingwithruss.com/pygame/...
Watch video Creating and Moving Rectangles In Pygame - Beginner Tutorial online, duration hours minute second in high quality that is uploaded to the channel Coding With Russ 26 February 2023. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 24,395 times and liked it 592 visitors.