Last Modified: 1/17/2021
Scrolls the active background plane relative to its current position.
Name | Type | Required | Description |
Direction | System Identifier | Yes | The direction to shift the active background plane. |
Quantity | Integer | Yes | The amount to shift the plane in pixels. |
Cell | Integer | No | Required if the scroll mode is HScroll_Cell, HScroll_Line, or VScroll_2Cell. |
Direction | Description |
Up | Set the direction to shift the plane Up. |
Down | Set the direction to shift the plane Down. |
Left | Set the direction to shift the plane Left. |
Right | Set the direction to shift the plane Right. |
Syntax: Scroll <Direction>, <Quantity> [,<Cell>] |
DrawTile 1,0,0 For i = 0 To 10 Scroll Down, 1 Sleep 1 Next |
If you're using HScroll_Cell, HScroll_Line, or VScroll_2Cell and omit the Cell value, it will default to 0.