1
0

Compare commits

...

3 Commits

Author SHA1 Message Date
584305f0d8 Ya permite cargar diferentes paletas 2024-02-05 22:59:49 +01:00
35a1334be4 Añadidos ficheros de paleta
Modificado williams.gif
2024-02-05 22:57:55 +01:00
b0c73467e2 Cambiado el titulo de la ventana 2024-02-05 22:36:56 +01:00
4 changed files with 2 additions and 2 deletions

View File

@@ -2,13 +2,13 @@
void init()
{
jInit("pixels", 320, 240, 2);
jInit("tutorial_paleta", 320, 240, 2);
jSetPal(0, 0x00000000);
jSetPal(1, 0xffff0000);
jSetPal(2, 0xffffffff);
jCls(0);
jSurface peiv = jLoadSurface("williams.gif");
jLoadPal("williams.gif");
jLoadPal("pal02.gif");
jSetSource(peiv);
}

BIN
pal01.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

BIN
pal02.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB