title: Weird shifting when using pygame.transform.rotate()
body: <pre><code>def rotate(self):
      #Save the original rect center
      self.saved_center=self.rect.center
  
      #Rotates a saved image every time to maintain quality
      self.image=pygame.transform.rotate(self.saved_image, self.angle)
  
      #Make new rect center the old one
      self.rect.center=self.saved_center
  
      self.angle+=10
  </code></pre>
  
  <p>When I rotate the image, there is a weird shifting of it despite the fact that I'm saving the old rect center and making the rotated rect center the old one. I want it to rotate right at the center of the square.</p>
  
  <p>Here's what it looks like:
  <a href="http://i.imgur.com/g6Os9.gif" rel="nofollow">http://i.imgur.com/g6Os9.gif</a></p>