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 / I feel stupid asking, but about dbText

Author
Message
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 19th Jun 2008 05:46 Edited at: 19th Jun 2008 05:54
If I call dbText before the main GDK loop like so:



Then call it again still before the main loop:



Shouldn't it erase the first set of text since I called dbSync ( ) after each? What should I do differently? I didn't see a command to clear the text already displayed.
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 19th Jun 2008 05:55 Edited at: 19th Jun 2008 05:56
Add dbCLS(), dbSync will only refill the 3D view with the backdrop and anything in the scene, without this nothing is drawn so your text keeps rendering on itself.

Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 19th Jun 2008 05:59
Thank you, kind sir.
Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 19th Jun 2008 08:03
Hey, "kind sir" is my thing. I'ma slap joo.

If you can do any models for FW, reply to the FleetWars thread.

Click here!
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 19th Jun 2008 08:06


I vill kill you!

Login to post a reply

Server time is: 2024-11-20 13:39:45
Your offset time is: 2024-11-20 13:39:45