Define your own "characterset" (this can be UDG too, but in characterrange) and make it 10 characters/udg. Make the 11th the same as the first.
Now by poking 23606 from start to start+80 and printing a character on same spot after each poke you get the rolling effect
from a fruitmachine. Since chr11 is the same as chr1 you will get the rollaround effect.
To add more visible chr on the roll: add print chr-1 above and chr+1 below.
- Posts: 2874
- Joined: Mon Sep 26, 2011 10:56 am
- Location: Looking forward to summer in Somerset, UK...
By increasing the value by 8, you move the start point of the look up to the pattern data so that BASIC prints the image for the next character pattern to the screen. So for the first increase, when 'A' is printed, the system uses the pattern for letter 'B' instead.