Why Use Rectangles? One of the key concepts in pygame is working with rectangles. They allow you to position and
Month: February 2023
![](http://www.codingwithruss.com/wp-content/uploads/2023/02/THUMB-4.png)
Introduction To Shapes Typically a pygame project will contain images and spritesheets, but for simpler shapes we can use the
![](http://www.codingwithruss.com/wp-content/uploads/2023/02/thumb-3.png)
Creating A Helper Function Pygame doesn’t have built in functionality for drawing text, this is something we have to add
![](http://www.codingwithruss.com/wp-content/uploads/2023/02/THUMB-2.png)
Mouse Input Options Just like keyboard input, there are two different ways to get mouse input: Using the event handler