title: "vbmScrollRight" description: TRSE built-in method (from IDE help)
vbmScrollRight
Systems: VIC20
Parameters: —
vbmScrollRight( );
Description
Rearranges the character map used to display the bitmap to make the screen appear to scroll to the right by 8 pixels (1 column). This form of scrolling is quite fast but does pose some limitations to be aware of.
Specifically, address $1100 will not necessarily be at the top left of the bitmap. After the first vbmScrollRight this address will have moved to the next column. Therefore, commands such as vbmNextColumn, vbmDrawSprite8 and vbmDrawSprite16 will not work correctly. Use vbmSetColumn and vbmDrawSpriteSlice instead.
Example
vbmDebug(1); // show the ROM characters for this demonstration
vbmScrollRight(); // scroll one column to the left
See also
- vbmScrollLeft
- vbmScrollFixTop
- vbmScrollFixBottom