title: Multiple Displays in Pygame
body: <p>I'm making a little game and I want to make another window separately from my main one.</p>
  
  <p>I have the the main game in a main window, and I want to open a new window and do a little animation when the user does something.</p>
  
  <p>In my example code below, when the user presses "a" I want it to open a new window and blit to there.</p>
  
  <p>Here I set up the two windows: (I know this doesnt work, its what I'm asking how to do)</p>
  
  <pre><code>SCREEN_X = 400
  SCREEN_Y = 400
  BSCREEN_X = 240
  BSCREEN_Y = 160
  
  BATTLE_SCENE = pygame.display.set_mode((BSCREEN_X, BSCREEN_Y))
  SCREEN = pygame.display.set_mode((SCREEN_X, SCREEN_Y))
  </code></pre>
  
  <p>and then the program:</p>
  
  <pre><code>def run_ani ():
      #Do animation, blitting to BATTLE_SCENE
      return
  
  def main_game():
      ending=False
      while ending==False:
          clock.tick(30)
          for event in pygame.event.get():
              if event.type == pygame.QUIT: ending=True
              if event.type == KEYDOWN: # key down or up?
                  if event.key == K_ESCAPE:
                      ending=True # Time to leave
                      print("Stopped Early by user")
                  elif event.key == K_a:
                      run_ani()
          #Normal screen motion, blitting to SCREEN
          if ending: pygame.quit()
      return
  </code></pre>
  
  <p>So far what this does is draws the main screen, then when A is pressed, it stops drawing the main screen animations, but still draws the other animations on the main screen and draws in the top left corner.</p>
  
  <p>I'm pretty sure it does this because I am setting <code>BATTLE_SCENE</code> to be smaller than the main screen, thus when blitting to <code>BATTLE_SCENE</code> it blits to the area I created (240x160) in the top corner of the main screen.</p>
  
  <p>However I want <code>BATTLE_SCENE</code> to be a seperate window, so that when I press 'a' it will pop up, do its thing, then close or at least go behind the main screen.</p>
  
  <p>How to do this? Is it even possible?</p>