i seem to have a conceptual misunderstanding of the surface and rect object in pygame.
I currently observe these objects this way:
- Just the loaded image
- the 'hard' representation of the ingame object (sprite). Used for simplifying object moment and collision detection
- rect and surface grouped together
What i want to do is rotate my sprite. The only available method i found for rotation is pygame.transform.rotate.
How do i rotate the rectangle, or even better, the whole sprite?
Below is the image of how i visualize this problem.