I use this command so I can have the framerate etc over the sprites.
I was playing around to see if paste image was faster than sprite and when I went to display my sprite again all there was was a black screen with the frame rate in the left corner. If I move the window around (the games in windowed mode) the screen changes blue and I can see my sprite but the text disapears. Does anyone know what´s going on?
void DarkSDK()
{
dbSyncOn();
dbSyncRate(0);
dbDrawSpritesFirst();
dbSetDir("media");
dbLoadImage("hillyidle1.PNG",1,1);
while (LoopSDK())
{
dbCLS();
if (dbEscapeKey())
break;
dbText(320,240,"Hello world");
dbSprite(1,0,0,1);
dbSync();
}
Don´t steal me piccy now!
Thank you for the votez!1!