scroll By
Scrolls the camera over the map, shifting the center of view by the specified number of pixels in the x and y directions.
Parameters
x
Amount of pixels to scroll to in x direction
y
Amount of pixels to scroll to in y direction
Scrolls the camera over the map, shifting the center of view by the specified number of pixels in the x and y directions.
Parameters
x
Amount of pixels to scroll to in x direction
y
Amount of pixels to scroll to in y direction
duration
Amount of time the scrolling should take