Hi
I have a problem with dbPrint. I want to display a score in my game which is the variable GLOBALCOUNTER - declared as a global integer after the includes. I do also have a char buffer as global.
#include "DarkGDK.h"
...
long int GLOBALCOUNTER = 0;
char buffer[100];
...
in the function darkGDK() there is a loop called LoopGDK().
in that loop i do the following:
while ( LoopGDK ( ) )
{
...
sprintf(buffer, "Your Score is:%i ", GLOBALCOUNTER);
dbPrint(buffer);
...
}
The variable buffer is being printet BUT right after it has been printet it disappears again
if i put fx a dbWait that waits 1 sec the variable is shown that one sec and disappears right after.
i dont know what to do - cant find other peoples with same problem.
Hope someone can help
DieMauerDK
john