1
0

en proces de pasar a SDL3

This commit is contained in:
2025-03-24 20:02:28 +01:00
parent 0334a7e04e
commit 7abbaee706
12 changed files with 216 additions and 40 deletions

17
source/game.cpp Normal file
View File

@@ -0,0 +1,17 @@
#include "jUnit.h"
void init()
{
jInit("demo6_palette", 320, 240, 2);
jSetPal(0, 0x00000000);
jCls(0);
jSurface peiv = jLoadSurface("resources/williams.gif");
jLoadPal("resources/pal01.gif");
jSetSource(peiv);
}
void update()
{
jCls(0);
jBlit(100, 60, 0, 0, 29, 64);
}