title: "vbmScrollFixTop" description: TRSE built-in method (from IDE help)
vbmScrollFixTop
Systems: VIC20
Parameters: —
vbmScrollFixTop( );
Description
Optionally used with vbmScrollLeft / Right commands to fix the top row of characters (16 pixels) in place and prent them from being scrolled with the rest of the screen. To be used for scores, statuses that you wish to remain stationary.
Call vbmScrollFixTop after every vbmScrollLeft / Right command to fix the top row in place.
Example
vbmDebug(1); // show the ROM characters for this demonstration
vbmScrollLeft(); // scroll one column to the left
vbmScrollFixTop(); // restore the top row of characters so they do not scroll
See also
- vbmScrollRight
- vbmScrollLeft
- vbmScrollFixBottom