Author Topic: NGUI for non games  (Read 8613 times)

zeeawk

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
NGUI for non games
« on: June 07, 2013, 04:46:50 PM »
I posted a similar topic on the unity forums but thought I would post here to get a more direct answer on NGUI then suggestions to use another GUI.

Just wondering whether or not it's feasible to use NGUI/Unity to make non games. Like text messaging, music player, twitter like applications.
Would it be fast enough to behave like a native application?
Could you make it look like a native applications interface? And have stuff like tab bar controllers etc?

StridingDragon

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 53
    • View Profile
Re: NGUI for non games
« Reply #1 on: June 07, 2013, 07:45:39 PM »
Yes, yes and yes! While it may not have been created with that purpose in mind,  NGUI is incredibly flexible and powerful and can be used for just about anything.

zeeawk

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: NGUI for non games
« Reply #2 on: June 10, 2013, 06:31:51 PM »
Anyone else know if you could make native looking interfaces with NGUI ?

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: NGUI for non games
« Reply #3 on: June 11, 2013, 05:58:15 AM »
Potentially yes. The question is if you really want Unity for making native-looking apps, since Unity does come with some baggage. Doing a straight native app might be a smarter idea, but that depends on exactly what you want to do.

Use the right tool for the job.

Malzbier

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 93
    • View Profile
Re: NGUI for non games
« Reply #4 on: June 11, 2013, 08:09:55 AM »
We do use NGUI for "Info" apps  / AR apps so why not?

motionsmith

  • Guest
Re: NGUI for non games
« Reply #5 on: June 11, 2013, 11:56:41 AM »
You can, but I wouldn't unless you need to take advantage of Unity's 3D capabilities. Likely, you should build your apps native. Early on, many major developers (like Facebook) made the mistake of using a common intermediate platform and had to backtrack and re-write their apps natively.

Don't be afraid of learning the native systems. You'll be more powerful and polished in the long-run.

MatrixNAN

  • Guest
Re: NGUI for non games
« Reply #6 on: June 11, 2013, 12:02:05 PM »
Hey Zeeawk,

I am using it to create a super web app.  I can not show anything until it is released.  Basically I have been doing all the stuff you mentioned.  Think of unity as Flash on Steroids.  You can literally do anything you want.  Its not like HTML5 and CSS3 where you can only do what the languages were intended to do.  Here rather there is no limitations except that of yourself and your own understanding.  We do have a few limitations imposed on us from the sand box just like Flash does also.  So no file uploading in the Unity Webplayer the sandbox in firefox, chrome, iexporler, opera, and safari will not allow it. 

The documentation is kind of thin with regards to the direction of Web Development with Unity.  They have a set of WWW classes that lets you submit forms, download images, videos, etc.  The interface runs faster than anything else out there.  It is extremely fast.  NGUI lets you minimize your images required to make an awesome looking interface really small which saves a lot on the number of images required to make your interface.  Its way more efficient.  You will be doing some digging in the API if you are not already very well versed with Unities API.  Its a very good API with a ton of capabilities and a lot of good documentation.  If you are not familiar with it you could try using Playmaker for some of it. 

I will probably be releasing some new asset development in the asset store in about a month that I have already developed that will make creating web applications much easier in Unity.  Of course you can do database backends with Unity.  NGUI even has Json handling along with field cleansing before you submit the data back server side.  Note making things scroll and edit anywhere you want in the text can be more difficult than you imagine.  Also there is an HTML asset for NGUI in the Unity Asset Store. 

Oh yeah you can not use Google Maps in the Web Player google forgot to make the exception for it for Unity like they did for Flash.  They simply just do not have the file crossdomain.xml you will need and you will be blocked by security.  You will need to use alternate mapping services if you want that.

Cheers,
Nate Nesler
« Last Edit: June 11, 2013, 12:29:25 PM by MatrixNAN »