Hello, I have just installed Dark GDK and was going through the first tutorial and i encountered a problem right away :S .
The first initial run works fine, but when i add the fist bit of code, to where my program looks like this:
#include "DarkGDK.h"
// the main entry point for the application is this function
void DarkGDK ( void )
{
// turn on sync rate and set maximum rate to 60 fps
dbSyncOn ( );
dbSyncRate ( 60 );
dbLoadImage("animatedsprite.png", 1);
dbSprite(1, 0, 0, 1);
// our main loop
while ( LoopGDK ( ) )
{
// update the screen
dbSync ( );
}
// return back to windows
return;
}
but when i debug and run it, it just gives me a blank screen. No build errors, or debug errors, but the image doesnt load, and my whole computer lags very bad to the point my mouse freezes every couple of spaces.
Can anyone help me out please?
Thanks.