Poll

Did you find this helpful?

Yes
No

Author Topic: [Tutorial] Making a Gui  (Read 45125 times)

I've created a GUI, but I have some questions:

Well, im making a GUI and i need to have a button that will open up another gui, like the ban button on the admin menu, how would i do that?

And how can I resize the letters in the text control or change the font?

bumpduetohelpfulness.


How do i make a GUI on mac?
3:

I've created a GUI, but I have some questions:

And how can I resize the letters in the text control or change the font?

To change font and size:
Click the button / text and change the profile to HUDChatTextEditSize#Profile*

* = Replace the # with any number from the list. 0 is smallest, 10 biggest

To make a button open another GUI:
Click the button and find command
Type this in:
Code: [Select]
Canvas.pushDialog(NAMEOFGUIHERE);
Replace NAMEOFGUIHERE with the name.


My question:
Can i create an GUI named BlahBlahGUI,
Then maybe pack it to an zip and type this in the console?
Code: [Select]
PlayGUI.add(BlahBlahGUI);
Or would i need to create a script too?
« Last Edit: January 05, 2010, 03:27:11 PM by goz3rr »

Thanks so much what a great tutorial. Definitely deserves a sticky.


AGlassOfMilk, i made a GUI and all because of this, its not that stuffty, its not amazing, but its for a guy who wanted a gui! You awsome, thanks AGlassOfMilk
« Last Edit: February 01, 2010, 03:18:18 PM by skaterman »

This should be stickied, its SOOO amazing

For macs:

cmd m = Mission Editor
cmd g = Gui Editor!

First version (2nd version already started) of the GUI


This GUI thing is old and not as complete as I could make it now. I don't plan on doing it again so...

Once you get the hang of it, it becomes really easy.

Could you help me? I have a coding help topic.

Sorry about the bump, but I recently started trying to make GUI's, but I ran into a minor problem. When I resize the window to 320x240, it just reverts back to 640x480 when I open it back up to edit it again. Help?

Sorry about the bump, but I recently started trying to make GUI's, but I ran into a minor problem. When I resize the window to 320x240, it just reverts back to 640x480 when I open it back up to edit it again. Help?
Sorry for the bump, again, also, I have this problem.

Make sure horizSizing and vertSizing are not set to "width" and "height" - they should usually be "bottom" and "right".