Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Black screen while loading large objects...

Author
Message
lesPaul456
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location:
Posted: 30th Dec 2009 23:22
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:



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!
Bran flakes91093
16
Years of Service
User Offline
Joined: 13th Sep 2008
Location: Crazy Land
Posted: 31st Dec 2009 02:20
1: Put two dbSync() calls after the dbPrint() to update the screen.

2: DarkGDK was not made to be multithreaded, so you may encounter problems if you try, although I personally have not tried nor do I have any idea how.

Your_Health = (My_Mood == HAPPY) ? 100 : NULL;
lesPaul456
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location:
Posted: 31st Dec 2009 15:49
Thanks, adding the two dbSync commands did it.

Login to post a reply

Server time is: 2024-11-20 07:23:15
Your offset time is: 2024-11-20 07:23:15