title: When I use pygame.transform.rotate(), it moves my image so that, if used in succession, it will go off screen. Why?
body: <p>So I loaded an image, then used rotate on it. However, when I ran the program, it just slid off screen. Why?</p>
  
  <pre><code>import pygame, sys
  
  
  
  
  def rotate45(gameObject):
      newObject = pygame.transform.rotate(gameObject, 45)
      return newObject
  
  def main():
      pygame.init()
      screen = pygame.display.set_mode((800,600))
      Tardis = pygame.image.load("Tardis.bmp")
      Tardis.set_colorkey((255, 0, 0))
  
  
  
  
  
  
  
  
  
      while True:
  
          for event in pygame.event.get():
              if event.type == pygame.QUIT:
                  sys.exit()
  
          screen.fill( (0,0,0) )
  
          Tardis = rotate45(Tardis)
  
          screen.blit(Tardis, (400,300))
  
          pygame.display.update()
  </code></pre>
  
  <p>Can somebody help? My image is 75 x 134 if you need to know.</p>
  
  <p>I am new to programming, but I have no clue why this is happening.</p>