Fairly new to pygame, creating chess to practise it. I want the screen to flip after each move including all the sprites, is there a way to do this?
I've tried window.blit(pygame.transform.rotate(window, 90), (0, 0)) but that only flips the screen and not the sprites Any help is appreciated, thanks in advance!
You need to blit the flipped surface after you've drawn your sprites.
Here is a minimal example, pressing Space flips the board.