Scroll2 |
Previous Next |
Scroll2 <Direction>, <Quantity> [, <Cell>]
|
Part
|
Description
|
<Direction>
|
Required. Sets the direction to shift the background plane. Valid
values are:
|
<Quantity>
|
Required. Amount of pixels to shift the background plane.
|
<Cell>
|
Required if the scroll mode is HSCROLL_CELL, HSCROLL_LINE,
or VSCROLL_2CELL.
If the scroll mode is HSCROLL_CELL, then <Cell> indicates which
horizontal cell will be scrolled.
If the scroll mode is HSCROLL_LINE, then <Cell> indicates which
line to scroll.
If the scroll mode is VSCROLL_2CELL, then <Cell> indicates which
cell to scroll. <Cell> here is 16 pixels wide.
|
DrawTile 1,0,0
Sleep 100
Scroll2 DOWN, 10
Sleep 100
SCROLL2 DOWN, 9
|