title: Pygame, is there a way to make "screen layers"?
body: <p>I  am working on a Tank game as a school project and I am trying to make it as user-friendly as possible (with things like customizable keybindings, display settings). However, I don't want the game window to lose it proportions so I figured I would add borders to the sides of the game window in order to support wide screens. </p>
  
  <p>I've attached an imageto illustrate what I'm looking for:</p>
  
  <p><a href="https://i.stack.imgur.com/QsDde.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QsDde.png" alt="enter image description here"></a></p>
  
  <p>So for this to work, I would need a way to make "screen layers". The base layer is the whole screen with some graphics on the sides added to it and a font displaying score. And then a second layer would be rendered in the middle of the screen which will be the game window and its width and height will be obviously smaller than the base layer.</p>
  
  <p>At the moment, the game is rendered from the top left corner of the screen until all the tiles have been rendered out. So that is why I figured it would be the best to make the tiles render out on a separate surface positioned in the middle of the screen surface.</p>
  
  <p>Would really appreciate some tips on how I can make this possible! :) I don't have that much experience in Classes and pygame, so it would be awesome if you could give a fleshed out description as well! :D</p>