- Funcions de pintat de text
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user