I wanted to do a small test. Print a text once per line, but with a different color on every line.
So, I tried this first:
Code: Select all
VDP_setPaletteColor(15, 0x0008);
VDP_drawText("Hello World!", 0, 0);
But, when I do this multiple times like so:
Code: Select all
VDP_setPaletteColor(15, 0x000E);
VDP_drawText("Hello World!", 0, 0);
VDP_setPaletteColor(15, 0x000C);
VDP_drawText("Hello World!", 0, 1);
VDP_setPaletteColor(15, 0x000A);
VDP_drawText("Hello World!", 0, 2);
VDP_setPaletteColor(15, 0x0008);
VDP_drawText("Hello World!", 0, 3);
What am I doing wrong here?
