SetCameraZoom(<-zoom)
Sets the camera zoom. The zoom is equal to half the vertical size of the viewport in world (sand) pixels.
SetCameraZoom(256) # This sets the viewport's height to 512, exactly enough to see the entire map if centered GetScreenSize ->screenSize SetCameraZoom(<-screenSize.y 8 div) # This sets the camera to a fixed resolution of 4 screen pixels per world pixel regardless of screen size