SetScrollMode
Previous  Next

Description: Sets the scroll mode

     Syntax:
     
SetScrollMode <HScrollMode>, <VScrollMode>

Part
Description
<HScrollMode>
Required. Valid values are HSCROLL_OVERALL, HSCROLL_LINE, HSCROLL_CELL
<VScrollMode>
Required. Valid values are VSCROLL_OVERALL, VSCROLL_2CELL

Notes: If HSCROLL_OVERALL is used, the entire screen will scroll horizontally. If HSCROLL_LINE is used, only the specified line is scrolled horizontally. If HSCROLL_CELL is used, 1 horizontal cell is scrolled. If VSCROLL_OVERALL is used, the entire screen will scroll vertically. If VSCROLL_2CELL is used, then 2 vertical cells are scroll. VSCROLL2 will scroll both Plane A and B together.

Example:

        DrawTile 1,0,0
        SetScrollMode HSCROLL_LINE, VSCROLL_OVERALL
        Scroll RIGHT, 10, 0