214
The
VIC
20
User
Guide
470
BIT=7-(X-COL*S)
480
POKE
PL,PEEK(PL)
OR
Ml~(BIT)
490
RETURN
When you run the program you will
see
that the triangle
is
drawn much
too slowly to
be
useful in a fast-action game.
It
would
be
practical, however,
for use in an educational program that taught geometric shapes.
MULTICOLOR
GRAPHICS
While the combination
of
standard graphics and custom characters will
meet the needs
of
most applications, there are some things that cannot be
easily displayed in blue and white (or green and white, or red and white).
If
you need fine detail in a display or want
to
make it more eye-catching,
sometimes just turning a dot on the screen "on"
or
"off'
isn't enough.
Multicolor mode
is
designed for those applications that need more
color than a standard display. In high-resolution mode there are eight dots
on each line
of
a character, but each dot
is
limited to being either the
character color
or
the background color. Multicolor mode trades some of
those dots for more colors.
In
a multicolor character, there are only four
dots per line, but each dot can be one of four colors instead
of
just two.
Since a multicolor character
is
the same size
as
a high-resolution
character, each dot
is
twice as wide. To get the extra colors
of
multicolor
mode, you must "paint with a broader brush." There are still eight rows in
the character,
so
the height of the dot remains the same.