Greetings, I am pretty new at using 3D Game Studio and I am having trouble finding information on this specific thing so I've come here. My problem is basically that I have flickering text on screen. I have a model on screen and he is blinking every couple of seconds. I also have some text drawn on screen using draw_text. Each time he blinks, engine_frame is called to re-render or refresh everything on screen. And there lies the problem. The text is erased and then drawn again on screen. And thus I have a flickering effect. As I understand it, 3D Game Studio renders everything by drawing all models, entities,etc on a back buffer and from there draws it onto the front buffer. Problem is draw_text only draws on the screen so I was wondering if there was some way to also draw the text on the back buffer and get rid of the flickering. Thanks in advance for your time.
I've been looking over panels and they don't seem to be used normally for text displays however I also found a structure called text which should have come along in 3D Game Studio's libraries and header files. Every example of code using the text structure uses acknex.h header file but I can't find it anywhere among 3D Game Studio's files. Anyone know how or where to obtain this header file?
For some reason I could not find it in any of 3D Game Studio's engine files even after reinstalling it. Ended up installing Lite-C just for fun and found in its engine files, acknex.h. Thanks for everyone's help.
And now apparently using this header file which comes from lite-C needs some other header files like litec.h, and ends up redefining a bunch of macros and other things from adll.h and gives me a lot of errors. So much for text even though I saw it on C-script workshop tutorial.
The text structure is defined in Ln 404, atypes.h, found in GStudio6\sdk_engine
As long as you are including the file in your project as the samples do, you should have no problem using and accessing the TEXT type from a DLL using the SDK. No lite-c required.
I found the structure in the header file you just mentioned. But Visual Studio could not find that TEXT structure. It only found something completely different also called TEXT but found in winnt.h. I could access panels and views from atypes.h but not text. I just renamed the structure for TEXT in atypes.h and Visual Studio finally found it. I guess it was being overwritten or something by whatever the winnt version of TEXT was. Thanks to everyone who helped on this matter.