Classic Computer Magazine Archive COMPUTE! ISSUE 51 / AUGUST 1984 / PAGE 10

Colorful 64 Sprites

In looking over the various informational sources on sprites, I have come across a subject unanswered by all of them. The question is this: How does one tell the computer what color to make a certain part of a multicolored sprite?

Michael O'Day

Multicolored sprites are composed of four different colors. The four colors are 1) background color, 2) multicolor 1, 3) multicolor 2, and 4) sprite color. The locations to POKE to set the colors are as follows:

Background color	: POKE 53281
Multicolor 1	: POKE 53285
Multicolor 2	: POKE 53286
Sprite color	: POKE 53287 through 53294

The eight sprite color locations correspond to the eight different sprites. For more information on programming with sprites, see the 64 Programmer's Reference Guide, "Programming Graphics" section.