-
To scroll the map in the editor, hold the space bar pressed, and click and drag with the mouse.
-
To implement scrolling in a game, drawing the map with a negative offset will work fine. You ca alternatively use the
camera(x, y)
function that offset all further rendering to the{x, y}
point (usecamera(0, 0)
to reset to origin). See this tutorial explaining the camera usage.