Creating and Moving Rectangles in Pygame - Beginner Tutorial

This tutorial explains how to work with rectangles in Pygame, covering two methods of creating them and demonstrating how to move them within your game.

Coding With Russ•33.7K views•10:42

About this video

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/working-with-rectangles-in-pygame/

Tags and Topics

This video is tagged with the following topics. Click any tag to explore more related content and discover similar videos:

Tags help categorize content and make it easier to find related videos. Browse our collection to discover more content in these categories.

4.7

6 user reviews

Write a Review

0/1000 characters

User Reviews

0 reviews

Be the first to comment...

Video Information

Views
33.7K

Total views since publication

Likes
800

User likes and reactions

Duration
10:42

Video length

Published
Feb 26, 2023

Release date

Quality
hd

Video definition

Related Trending Topics

LIVE TRENDS

This video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!

THIS VIDEO IS TRENDING!

This video is currently trending in South Korea under the topic 'a'.

Share This Video

SOCIAL SHARE

Share this video with your friends and followers across all major social platforms including X (Twitter), Facebook, Youtube, Pinterest, VKontakte, and Odnoklassniki. Help spread the word about great content!