Function spr
#include <macaw.h>void spr(int n, int x, int y);
Draws one 16 x 16 sprite from your program's sprite sheet, gfx.pxl. Colour 0 in it is see-through.
Parameters
nint- The sprite's number, from 0 to 255. Sprite 0 is the top-left one, and 16 starts the second row.
xint- How far its left edge goes from the window's left edge, in pixels.
yint- How far its top edge goes from the window's top, in pixels.
In Sprites and the map, with sprex, sspr, fget, fset, map, mget, mset, mapwidth, mapheight, maplayers, maplayername.