What do you want to save?
Add Code snippet
New code examples
-
Other 2022-01-31 21:45:43
pygame rect
# make the x position, y position, width and the height of the rectangle x_pos = 20 y_pos = 20 width = 50 height = 50 # make the rectangle variable rectangle = pygame.Rect(x_pos, y_pos, width, height) # now add this to a surface, add a colour and the re... Add solution
Best helpers
Wo0dy
+5
Jim Pinnells
+5
Spookylukey
+5
Des Wilson
+5
Chris
+5
Ignatz
+5
Gaz
+5
Jo Boiardi
+5
Nthntn
+5
Jonny Five
+5
Asya Saryan
+5
Tralston
+5
Jeff Roe
+5
Hellybaby G
+5
SGoins
+5
Cbeleites
+5