title: Pygame, efficient collision handling for rpg game?
body: <p>I'm currently programming a little Snes-like RPG with pygame.<br>
  On my map I have 4 layers :<br>
  0 : Terrain, no collision (under char)<br>
  1 : Over Terrain no collision (under char)<br>
  2 : Collision objects (under char)<br>
  3 : Over char objects  </p>
  
  <p>I wanted to create a rect for every tile in my second layer which would prevent the character to go over these objects. Is there an efficient way to not check for every rectangle each time the character moves ? Thanks.</p>