where the screen doesnt follow the player but switches scenes as you walk across
well now i'm getting a little frustrated because there's nothing on google that tells me how the guys at MAW coded the tall stump.
here's how i'd do it
if player.x > camera.x + camera.width then
camera.x += screen.width
end
if player.x < camera.x then
camera.x -= screen.width
end
the player is, well, the player.
the camera is a representation of the screen, which can be moved and displays whatever is within it's width.
the screen is the actual rendering area of the game.
this basically states that if the player goes beyond the camera to the right, add the screen's width to the camera's position. if the player goes behind the screen's left then subtract the screen's width to catch up.