Hello,
Whenever I load a map that I have exported from FPS Creator, the screen remains black until the map is finally loaded.
I tried to show a loading message using
dbPrint, but the message doesn't show, and the screen remains black:
void DarkGDK ( void )
{
// turn on sync rate and set maximum rate to 60 fps
dbSyncOn ( );
dbSyncRate ( 60 );
dbSetDir("Files");
dbPrint("Loading, please wait...");
dbLoadObject("universe.dbo", 1);
// our main loop
while ( LoopGDK ( ) )
{
// update the screen
dbSync ( );
}
// return back to windows
return;
}
The model loads fine, it just takes a while. Is there a command I'm missing? Is it possible to load the game content on a seperate thread?
Thanks!