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 - wallabie

Pages: 1 ... 10 11 [12] 13 14
166
NGUI 3 Support / Re: Resize Container to Grid
« on: March 23, 2014, 06:06:31 AM »
I just downloaded 3.5.5,

Which version of the code above works for 3.5.5 ?

167
NGUI 3 Support / Re: I2 Localization for NGUI
« on: March 23, 2014, 05:55:03 AM »
Cool package.  Very nice work.

Btw, how to sign up to get access to  Unity Beta 4.6.0b3

168
NGUI 3 Support / Re: Tab buttons toggling.
« on: March 23, 2014, 04:16:59 AM »
Oh yes, purfect.  Somehow I missed this example.


169
Yes, I mean a Tree View Control.

Basic as in most GUI packages do have a TreeView Control.  Unity is an exception.  Flash, Flex, Xaml, Etc.  and everywhere else, a GUI system usually has a treeView Control that one does not need to create from scratch.  Just feed in an Xml data and we have data presented in a tree view. 

170
NGUI 3 Support / Re: NGUI Timeline scrollview memory management
« on: March 22, 2014, 11:18:32 PM »
Awesome.

171
Helllo,

This is quite a basic GUI functionality in most GUI packages but missing here.  Any ideas?

172
NGUI 3 Support / Tab buttons toggling.
« on: March 22, 2014, 11:17:15 PM »
Using the Tab example:

I would like to make the button keep a particular state when it is selected and toggle off the previously selected tab.  For instance,

1. given Tab1 and Tab2.
2. user clicks on one Tab1, Tab1 displays tabOn state and disabled.
3. user clicks on Tab2, Tab2 displays tabOn state and disabled.  Tab1 changes to tabOff state and becomes enabled.

Is there an example of how to do this. 

Cheers

173
NGUI 3 Support / Re: NGUI Timeline scrollview memory management
« on: March 20, 2014, 10:53:42 PM »
Is there a object pooling system in NGUI that could be used for this kind of situation ?  2DTK has a scrollview component that can hold an insane amount of items.  NGUI really need to support this kind of functionality.  We are 2014, multicore, etc.  But the GUI is like of the 80's - too raw.

174
Hi,

I would like to make a Tree that has drag/drop tree nodes.  What would you suggest to use as a starting base.  I was thinking of using the drag/drop scrollable list in the example.

175
I just got this error while running NGUI.

GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced

Is this something NGUI related?

176
NGUI 3 Support / Re: How to do Automatic Panning within ScrollView.
« on: March 15, 2014, 02:37:16 AM »
I read through the code in the UIScrollView but it's kinda hard to follow.  Could you provide some code snippet to "calculate the position of the content relative to the scroll view's area " for my situation.

Edit1:  For example, I don't quite understand this comment "Changes the drag amount of the scroll view to the specified 0-1 range values. (0, 0) is the top-left corner, (1, 1) is the bottom-right." 

Edit2: Ok, finally figured this out.

1. To get the content bounding box, scrollView.bounds.size
2. dragAmt = thumbPosX/(scrollView.bounds.size.x);
3. scrollView.SetDragAmount(dragAmt,0,true);


Cheers.

177
NGUI 3 Support / Scrollview API that's awesome.
« on: March 14, 2014, 04:42:11 AM »
Here is a link to a very good example of a well thought out ScrollView API and some examples of what can be built from the API.

Edit: ATM most of the GUI solutions for Unity is too focused on desktop.  Desktop GUI design paradigm is very different from Mobile.  For example,  on mobile, due to screen size, a new paradigm of user interaction was created to overcome the limitation.  Flicking and panning to view more content, pinching, etc.  Technically, at the very heart of this new paradigm is the ScrollView component.  As can be seen from the example link, many types of user interactions are possible with the ScrollView component as the foundation. 

A more robust ScrollView component in NGUI would enable Unity developers to be able to create Mobile user experiences that are more in line  with what user of IOS and Android are accustomed to and will come to expect.


Examples :
http://code4app.net/category/scrollview/1

Scrollview API:
https://developer.apple.com/library/ios/documentation/uikit/reference/uiscrollview_class/Reference/UIScrollView.html

178
NGUI 3 Support / Re: How to do Automatic Panning within ScrollView.
« on: March 14, 2014, 04:34:07 AM »
I tried various ways to do the panning. 
As per your suggestion, I tried the SpringPanel.Begin but it's not giving the desired effect. 

What I would like is the following:
1. Left thumb button is dragged towards the Left edge of the clipped area.
2. when the button reaches the left edge, the panning begins.
3. The speed of the panning increases as the user drags the mouse further away from the left edge.

Basically this is a typical kind of drag panning effect that is in most common GUI systems that uses a scrollview. 



179
NGUI 3 Support / Re: Scrollview and scrollbar blues
« on: March 12, 2014, 11:30:31 PM »
Thanks,

I added UpdatePosition after the updateScrollbars and it works.

scrollView.UpdateScrollbars(true);
scrollView.UpdatePosition();

180
I agree that NGUI has an edge on performance, although from a GUI framework, nested scrollview is a very Basic feature.  In this day and age, GUIs are getting more and more user friendly which means that we have to make more advanced components.  Without nested scrollviews, it's very painful.

Pages: 1 ... 10 11 [12] 13 14