i got dark gdk up and running fine, everything is working apart from when i run a simple code all i get is a black screen, i've spent the past hour or so doing forum search on this matter and tried everything. here is a the code im using.
// Dark GDK - The Game Creators - www.thegamecreators.com
// the wizard has created a very simple project that uses Dark GDK
// it contains the basic code for a GDK application
// whenever using Dark GDK you must ensure you include the header file
#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 ( "\\Source Files\\animatedsprite.png", 1 );
dbSprite ( 1, 0, 0, 1 );
// our main loop
while ( LoopGDK ( ) )
{
// update the screen
dbSync ( );
}
// return back to windows
return;
}
i cant see anything wrong. i've also typed code like this-
dbLoadImage ( "animatedsprite.png", 1 );
dbSprite ( 1, 0, 0, 1 );
what do you guys think?