Controls a sprite in a number of ways. The value of p can be summed to perform multiple actions. The value of d must be consistent with all the selected actions.
n = | Sprite number (1 - 32). |
p | Meaning | d |
---|---|---|
1 | Move sprite 1 step | Direction of movement (0 - 8) |
2 | Change the sprites pattern | Pattern number (0 - 31 or 127) |
4 | Change the direction of sprite movement | Direction of movement (0 - 8) |
8 | Plot at centre of sprite | Ignored |
Include file: mtxscrn.h