- Funcions de pintat de text

This commit is contained in:
2023-06-06 10:03:18 +02:00
parent 7459390b0f
commit f7f6131a79
4 changed files with 61 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ void restart()
void game::init()
{
draw::init("The Pool", 320, 240, 3);
draw::init("The Pool", 420, 240, 3);
surf = draw::loadSurface("test.gif");
draw::setSource(surf);
draw::loadPalette("test.gif");
@@ -87,6 +87,7 @@ bool game::loop()
print(0,30,input::mouseBtn(1)?1:0);
print(0,40,input::mouseBtn(2)?1:0);
print(0,50,input::mouseBtn(3)?1:0);
draw::print("HOLA!", 30, 10, 14, 8);
draw::render();
return true;