I'm relatively wet behind the ears, but I've been working on the first tutorial in the GDK folder; the Hello World tutorial to be exact. I'm pretty sure I've done everything right and I've followed pretty well, but where I'm supposed to be getting a blue background with a Earth with a text of "Hello World" around it after I load the image into the program, all I'm getting is the blue box.
I know that if I don't put anything into the code at all I don't even get that blue background, it's black - so I know that I effected it in some way, I just don't know if I'm only halfway correct in where I need the program to be, or it just turns blue if it has any input at all.
// 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 ( "animatedsprite.png", 1 );
dbSprite ( 1,0,0,1 );
// our main loop
while ( LoopGDK ( ) )
{
// update the screen
dbSync ( );
}
// return back to windows
return;
}
Pretty basic. I'm almost positive the code is right, and I put the PNG file in the right project directory in the right place, I'm almost positive. I just don't know what else could be out of place.
Thanks.