1
0

Copiado el tutorial 5 de Jailgames Vintage en YouTube, pero algo sigue fallando

This commit is contained in:
2024-02-05 19:18:47 +01:00
parent b6636bdfab
commit 0249603e22
6 changed files with 215 additions and 33 deletions

19
game.cpp Normal file
View File

@@ -0,0 +1,19 @@
#include "jUnit.h"
void init()
{
jInit("pixels", 320, 240, 2);
jSetPal(0, 0x00000000);
jSetPal(1, 0xffff0000);
jSetPal(2, 0xffffffff);
jCls(0);
jSurface peiv = jLoadSurface("williams.gif");
jLoadPal("williams.gif");
jSetSource(peiv);
}
void update()
{
jCls(0);
jBlit(0, 0, 0, 0, 29, 64);
}