Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by RudeFX · Dec 04, 2012 at 01:38 PM · guibooks

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!

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image RudeFX · Dec 04, 2012 at 04:28 PM 0
Share

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 ;)

avatar image Fattie · Dec 04, 2012 at 05:21 PM 0
Share

note that "2dToolkit" (asset store) is almost indespensible for your 2D interactions!

avatar image RudeFX · Dec 04, 2012 at 05:52 PM 0
Share

Philisophy would be better, but if you know of anything at all relevant to GUI that wuold be great!

Thanks for your help Fattie.

avatar image Fattie · Dec 04, 2012 at 06:40 PM 0
Share

For sure, I have your answer,

the great classic is

Edward Tuffe,

The Visual Display of Quantitative Information

ENJOY !!!!!!!!!!!!!!

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image RudeFX · Dec 05, 2012 at 10:47 AM 0
Share

thank you very much!

avatar image
0

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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image nventimiglia · Dec 04, 2012 at 10:54 PM 0
Share

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

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges