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 / When I pull the window is filled with blue colour ! Need Help.

Author
Message
AlecG
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location:
Posted: 24th Dec 2009 21:11
Hello
Please help if you can. When I pull the window it is filled with blue color and image is dissapeared.What should I do avoid this?

Dark GDK IS THE BEST!!!!
Cuddle Bunniezzz 12
15
Years of Service
User Offline
Joined: 14th Jan 2009
Location: Buffalo, NY
Posted: 24th Dec 2009 21:52 Edited at: 24th Dec 2009 21:53
put "dbCLS()" right at the begging of "while(LoopGDK() {".

Example:



http://www.darkgdk.us/ <- You can now submit pages, upload images, yet were lacking content. We need your help!
Bran flakes91093
16
Years of Service
User Offline
Joined: 13th Sep 2008
Location: Crazy Land
Posted: 25th Dec 2009 00:35
You can't avoid it.

Your_Health = (My_Mood == HAPPY) ? 100 : NULL;
AlecG
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location:
Posted: 25th Dec 2009 23:57
2 Cuddle Bunniezzz 12:
Thanks but it didn`t help.

Bran flakes91093
It is bed.. well it seams i should do it using DirectX functions

Dark GDK IS THE BEST!!!!
AlecG
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location:
Posted: 26th Dec 2009 09:37
if i am using this command "dbUnlockBackBuffer ()"

error C3861: 'dbUnlockBackBuffer': identifier not found

Is it only my problem?

Dark GDK IS THE BEST!!!!
AlecG
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location:
Posted: 26th Dec 2009 10:01
Oh it is funny in help document this function is "dbUnlockBackBuffer ()" and in "DarkSDKisplay.h" is "dbUnlockBackbuffer()"

Dark GDK IS THE BEST!!!!
AlecG
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location:
Posted: 18th Jan 2010 02:12
2 Bran flakes91093

Realy?

Then put "dbDrawSpritesFirst ();" just right before the main loop in our "void DarkGDK ()"....

Why does The default 2d game is creating without this function?

Dark GDK IS THE BEST!!!!
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 18th Jan 2010 13:08
you can keep showing the sprites even when the windows moves by doing:


also useful if you want to add text on the top of a sprite

Login to post a reply

Server time is: 2024-11-20 05:35:53
Your offset time is: 2024-11-20 05:35:53