- gamestate_sequence ja funciona

This commit is contained in:
2023-10-12 13:50:54 +02:00
parent 83e5234cb6
commit 65589d6ff1
2 changed files with 76 additions and 13 deletions

View File

@@ -3,6 +3,8 @@
#include "jinput.h"
#include "jaudio.h"
#include "gamestate_sequence.h"
void game::init()
{
draw::init("Arounders", 320, 200, 3);
@@ -12,5 +14,14 @@ void game::init()
game::setUpdateTicks(16);
game::setConfig("fase", -1);
game::setState(nullptr);
gamestate::sequence::init();
/*
draw::surface *pic = draw::loadSurface("sprites.gif");
draw::setSource(pic);
draw::loadPalette("sprites.gif");
draw::draw(0, 0, 320, 200, 0, 0);
draw::freeSurface(pic);
draw::render();
*/
}