Hello I am here because I have a problem, I am learning pygame but my game cannot changes rotation while moving.
pygame
Using a vector didn\'t help.
Make these bits:
elif keys[pygame.K_a] elif keys[pygame.K_d]
Into:
if keys[pygame.K_a] elif keys[pygame.K_d]
That should do it.