![]() |
GUIs
1 Attachment(s)
Anyone else hate making them? It doesn't help that I don't like the GUI editor, and script them by hand.
Attachment 45501 Tomorrow I get to script the serverside. Lucky me :D |
I always script them by hand anyways... never even tried the GUI editor.
|
I've always found GUIs to be the easiest part of GS2. :p I usually use the GUI editor, then modify the crap out if it since the syntax is horrible. It bugs me that not every type of control is on it, though. That and, when you reconnect with it open, you have to close Graal and reopen it to get it to work.
Nice custom GUI, though. ^^ I wish Valikorlia had one. |
There is just always some minor inconvenience or trouble they give me. Small, little things, but important for me to finish.
|
There's a gui editor now?
I suppose it wouldn't be too hard to script one... I like being in touch with the code more though. An understanding of the underlying code is pretty important. |
Quote:
|
I never use the Gui Editor. First because I like things styled my own way the first time. Second because when I create the controls I always set their positions and extents relative to something else rather than a specific point.
Example: TheScrollCtrl.x = 6; TheScrollCtrl.y = 24; TheScrollCtrl.width = TheWindow.width * 0.35; TheScrollCtrl.height = TheWindow.height - 24 - 6; ThePanelCtrl.x = TheScrollCtrl.x + TheScrollCtrl.width + 6; ThePanelCtrl.y = 24; ThePanelCtrl.width = TheWindow.width - TheScrollCtrl.width - 6 - 6; ThePanelCtrl.height = TheScrollCtrl.height; Easier to do that and more complicated stuff without Gui Editor. |
Quote:
|
Hmm...I have to disagree with Inverness for this reason:
When I create a GUI window I'm only going to be placing controls in a space once. After that it's done, so I don't see the need for having every control placed relative to another control unless you're going to have to do a lot of re-arranging later on. The way I see it once a GUI is designed, that should be that. Also, I just tend to be able to design better looking GUIs by seeing what they look like in real time instead of having to update every time I make a change. The lack of controls on the GUI editor is a bummer in my opinion also, though. |
Quote:
|
I prefer to code them, tbh. There's much more you can do with them.
|
i just log on to the wiki and do it that way, 'profile.' etc
|
Ya, I copy the examples from the wiki and customize them.
|
1 Attachment(s)
Here is an example of an unfinished GUI I made recently for the shop system on Valikorlia. It is using the GuiFrameSetCtrl so you can drag the middle bar to resize the two sides. It is also fully resizable.
Trying making that with the GUI Editor :p |
700 part went under the button?
It shouldn't ;) |
All times are GMT +2. The time now is 05:36 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.