   SDL Camera
  Hey! I have made an 2D game engine with SDL but i have a little problem..I want to make so the user will go to other part of the map when the user is at "int x" 640 and it will change the map idk how to expline its hard xD like tibia when u are going around its changes the changes the whole time..IMG of my game:http://data.fuskbugg.se/skogsturken/iijaejf889wf.pngits like if(key[SDLK_w]={  player.destination_x += 1;}what more do i need add? i just cant imagine how i can do it xD THANKS!!   
  do you want the screen focused on the player or do you want the screen to edge-flip like Zelda?   ;  you could do something likeif (player.destination_x > SCREEN_SIZE_WIDTH) {   player.destination_x = 0;   drawNextMapEast(); //a function to load a new map on the screen since we went off the east end of the map, draw the next map to the east}if (player.destination_x < 0) {   player.destination_x = SCREEN_SIZE_WIDTH - player.sprite_width;   drawNextMapWest(); // same as above, only west side}//do the same for player in the y;  Please do not cross post.   