Function camera
#include <macaw.h>void camera(int x, int y);
Moves everything drawn after it by -x, -y. Use it to scroll a world that's bigger than the window, and camera(0, 0) to put it back.
Parameters
xint- How far to the right the view moves, in pixels.
yint- How far down the view moves, in pixels.
In Drawing, with cls, pset, pget, line, rect, rectfill, circ, circfill, tri, text, textwidth, clip, noclip, box, centertext, shadowtext, textscaled, wraptext, wrapline.