Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - francofresco

Pages: [1]
1
NGUI 3 Support / Re: NGUI Hierarchy (newbie question)
« on: March 26, 2013, 09:53:11 PM »
Hey Nicki, thanks for the response!  That does sound good and it is working.  I've decided to rethink my hierarchy any ways, try to clean it up a bit.

Thanks again for the help.  I do appreciate it!


2
NGUI 3 Support / Re: Limited support until March 30th
« on: March 23, 2013, 12:48:20 PM »
Oh Great!  Unity is going to be there too, its going to be a big year for you guys!  Cheers to the games of 2013 and beyond. 

Have fun at GDC!

3
NGUI 3 Support / Re: NGUI Hierarchy (newbie question)
« on: March 18, 2013, 08:58:19 PM »
Glad to see this thread.  Newbie here and have been wondering about this.  I have a good amount of my UI done (interacting, updating...) and so far working as designed. 

Can a UI hierarchy be too deep? 

-Root
--Camera
---Anchor: Centered
----Panel: Endgame Screen
-----Anchor: Bottom Right
------Transform: Offset
-------Transform: Window
--------Panel: Drag and Clipping Stats
---------UITable: StatsTable
----------DragPanelContent: StatObject
-----Anchor: TopRight
------Transform: Offset
-------Transform: Window
--------Panel: Drag and Clipping Levels
---------UIGrid: Levels
----------DragPanelContent: LevelIconObject
----Panel: Ingame HUD
-----Anchor: Bottom Right
------Transform: Offset Game buttons.
-------UIButton: Jump
--------etc.. 

The idea is that I have smaller more focused panels under a main Panel (EndGame & InGame) which I then anchor the focused panels or widgets.  This way I can easily turn on and off a Panel and everything underneath gets disabled.

Is my hierarchy just really ridiculous? Should I redesign it?

Thanks for the help!

4
Hello NGUI Authors, Devs and all others in the Community!  My first post here, but I wanted to say hello. :) I've been working with paid NGUI for a couple of months and wanted to share how much this thread helped. 

ArenMooks clamping code at the end worked perfectly. 

I also want to share, that I ended up creating a separate camera in the hierarchy under the UICamera that is smaller than the main UI camera.  I can now clamp to that camera instead of my main UICamera and have full control.  The new Camera is Ortho that doesn't clear and culls nothing.  This is only used to have more control of where the icons get clamped to as I can scale and position the camera where ever I want to in the UI Camera..

Hope this helps anyone!  NGUI FTW!  Thank you.








Pages: [1]