Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Center font and disable U3d; how to
Topic Started: May 31 2009, 06:57 PM (301 Views)
Eansis
Member Avatar
ghost
[ *  *  *  *  *  * ]
I was wondering, how do you center font, like in a word proccesor like MS word you can center font, etc. Do I have to make my own font and use the dimensions of each letter? Are there certain fonts with equal size letters?

Also, I was wondering, can you disable U3d and enable it? I tried u3d.cleanup but that crashed the game.
VOTE FOR BUDDY ROEMER HE'S A STRAIGHTFORWARD, DOWN TO EARTH AMERICAN GUY WHO ISN'T PART OF THE BIGBROTHER CONSPIRACY

Til'c
 
Things will not calm down Daniel Jackson. They will infact calm up.
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
Quote:
 
I tried u3d.cleanup but that crashed the game.

*comments out Cleanup*

Ahh, that works! Thank you!

For your second question, the only thing I can think of is SwitchView(). That will work without the hell of trying to figure out how to init and deinit U3D correctly.

On the centering, if it's not dynamic, then you can just eyeball it. Otherwise, you can't do much than make your own font drawing script using a sprite sheet, and we all know how slow that is.

Edit: Yup, that helped me find the error. Thanks again!
Edited by skarik, May 31 2009, 07:21 PM.
Blog|EHS
Offline Profile Quote Post Goto Top
 
Eansis
Member Avatar
ghost
[ *  *  *  *  *  * ]
Awesome, switching GM views! Why didn't I think of that myself? Ah...too many things to do have clouded my mind, lightmaps, models, maps, terrain, enemies, oh my. At least this one's out of the way. Thanks :D
VOTE FOR BUDDY ROEMER HE'S A STRAIGHTFORWARD, DOWN TO EARTH AMERICAN GUY WHO ISN'T PART OF THE BIGBROTHER CONSPIRACY

Til'c
 
Things will not calm down Daniel Jackson. They will infact calm up.
Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply