- Home /
Any good books on GUIs?
Hello there people,
I was wondering if anyone knew of any good books on making up GUIs? Or related...
Thanks again all!
well thanks , but thats not exactly what Im looking for, I was more interested PC game based guis.
PS thanks for the apostrophe comment, although I rarely wright in English(Im Spanish), so I guess I can get away with it ;)
note that "2dToolkit" (asset store) is almost indespensible for your 2D interactions!
Philisophy would be better, but if you know of anything at all relevant to GUI that wuold be great!
Thanks for your help Fattie.
For sure, I have your answer,
the great classic is
Edward Tuffe,
The Visual Display of Quantitative Information
ENJOY !!!!!!!!!!!!!!
Answer by nventimiglia · Dec 04, 2012 at 04:43 PM
It took me several months to come up with my GUI system.. though most of that time was spent in cleanup.
Originally I used Quads (like NGui) but found all the added code wasn’t worth the 3d slanted objects. After that experiment I used simple GUITextures and GUIText objects with some custom scripting. The end result (surprisingly) looks pretty similar to the new Gui system unity will be releasing soon. If you haven’t checked our that video, you might want to.
The first control I wrote was a simple button. It wasn’t hard at all. I just wired OnMouseEnter, OnMouseExit (ect) events to a texture that change colors (simulating hover, down, ect) and I had a working button in less than a hour.
Later down the road when I started making advanced controls (like reusable lists), I had to invent a binding system using reflection... but if your lists are use specific you don’t need to do that.
One big caveat I would suggest is to not use 'pixel insert' positioning. I found using transform positioning best and the two did not mix well.
Answer by RudeFX · Dec 04, 2012 at 10:33 PM
wow, thanks a lot nventimiglia, thats some real good insight.
I have already made a gui system, in where I can combine elements to create another, kinda like mindcraft, well more like classic point&click. I done it using only Unity gui elements.It works ok, but I have done a lot of coding for it to work. After messing with NGUI I found it to be a lot faster and easier. Anyway, I now would like to create an inventory, where you pick up an item and it appears in the Inventory, a classic inventory basicaly. But I cant seem to do it...
I have seen the tuts by BurgZergArcade, unitycookie, a couple of others on youtube, and read Will goldstones book & a couple of others.
Do you have any suggestions on the inventory system?
Thanks once again for your help, much appreciated.
The simplest inventory system such as in a FPS involves 3 scripts. A script for the pickup, a manager script on the player and a gui script.
A complex inventory system such as in an RPG would need alot more... tab navigation, items controls a script to define the items (ect)... $$anonymous$$ight I suggest baby steps.
Your answer
![](https://koobas.hobune.stream/wayback/20220613084937im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
UnitySerializer Delete Saved Games 0 Answers
How do I center the gui created by this script? 0 Answers
UnityEngine.Input.GetMouseButton(1)) issue 1 Answer
How To Make GUI Buttons Load/Quit 1 Answer