For Example: I want to handle a rectangle as an image because of the transform/rotate possibilities, do I have to paint this via an image editor or is it an easy way to use an pygame rectangle (object) like an image? Maybe the key is via Surface but I don't get it...
Asked
Active
Viewed 13 times
0
-
you can create a surface (using width and height from the rect) and `pygame.draw.rect` on it, then blit that surface at the rect position if that is what you were asking. If you want to draw stuff that is slightly more complex maybe just draw it in an editor, will be much easier that way – Matiiss Nov 10 '21 at 14:09