I have a new gui for the text box but I need the font size different than the size used for everything else. How do I do this?
Jonathan Grant
If you want to a specific room to change Font Size, then you can call the script command SetNormalFont ( //font numbe) to "before fade in" area . When you will be leaving the screen, then you will use again this command to set your starting font.
But, that only works if the new font is a different size to the old one, which by default none of them are.
I think you have to import a new font at a larger size, then use that as the new font.
You are right, i forgot to remind that it is needed a new, larger size, font to be imported.
Yeah, I have the different size imported. Actually, I misspoke. I need the text box font different (globally) from all the other font (otherwise the font won't fit in the gui boxes, like the "do you want to quit" gui).
Jonathan Grant
You should give more information. For what do you want this Gui, and what is its purpose in your game?
It's simple. The font I'm using has to be a certain size to fit in the buttons (example, the quit or play buttons in the exit gui. If any larger the words go outside the buttons) but if it is that same size for the text boxes it looks funny because it's so small.
It doesn't look small to me (and with 800 X 600 resolution).
Anyway, maybe you should make a custom Guit-Game-Gui, enough big to fit to your new fontt
Wouldn't it be easier just to assign different fonts for the text boxes from the rest of the game's font? What if I want it a different kind of font? Is there a way to do this?
Maybe I'm misundestanding it but you can actually change the Textbox's Font property to the font you need.