Hello there.. again!
How do I change the color of text I write out on the screan with for example dpText?
Also I need a code that makes a text stays for X seconds becouse this wont work for me:
while ( LoopGDK ( ) )
{
if ( dbMouseClick()==2 )
{
dbLoadImage ( "click.png", 1000 );
dbSprite ( 1000, dbMouseX(), dbMouseY(), 1000 );
if ( cooldown==false )
{
cooldown = true;
if ( dbSpriteCollision(1000,3) ==1)
{
dbDeleteSprite ( 1000 );
dbText ( dbMouseX(), dbMouseY(), "Hello");
dbWait(2500);
cooldown = false;
}
}
}
dbSync ( );
};
I want it to write out the text for 2,5 seconds but all it does is writing out the text after 2,5 seconds for 0,1 seconds.