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

Pages: [1]
1
Great thank you so much! Sorry for the self-bump, I was desperate :)

Would the best way to change the pivot be to add a UIWidget script to the grid?
I know how to change the pivot of the scroll view but not the grid itself.


Again, thank you!

EDIT: Never mind, found a solution here that worked out well. http://www.tasharen.com/forum/index.php?topic=6756.0

2
Bump. Anyone? It is vital that I figure this out. Any help at all would be appreciated.

3
Hello,

Sorry if this was posted before, but I have been searching everywhere and trying a whole bunch of things and I still can't get this to work.
Basically, I have a scroll view and a grid and am adding elements dynamically to the grid at runtime. I got them to sort correctly, but now I can't get the grid to be
centered in the scroll view (or the elements to be centered in the scroll view).

I have tried the center on child/center on click method, which doesn't work...

Funny thing is that when I am running the game, if I change the scroll view's content origin from, say, center to top, the grid repositions perfectly! So I know there must be some way to do what I want, I am just missing it.

PLEASE HELP!! I really really need to get this fixed as soon as possible. Thank you so much for your time and assistance.


4
Nevermind, got it!   ;D

I just switched around the v.y and v.w's, and the v.x and v.z's in the lerps and got exactly the behavior I wanted.

Seems painfully obvious to me in hindsight -___-

Thank you! 

5
Hello,
Thank you very much for the response.
I have been playing around with this a little, and I actually think my problem can be solved simply by changing fillRadial360 to start from the bottom of the circle, instead of the top. Do you know if this is possible?

6
NGUI 3 Support / Re: Change radial fill to follow contour of circle
« on: April 27, 2014, 10:18:42 PM »
Basically I have the border of a half-circle that I am attempting to use as a progress bar, and am filling it incrementally.
The problem I am trying to solve is that while it is being filled, the end of the circle is being cut off at an angle, but what I want is for it to be cut off flat.
Is there any possible way to do this using NGUI?

7
NGUI 3 Support / Change radial fill to follow contour of circle
« on: April 25, 2014, 06:33:20 PM »
Hello,

I realize that there is already an existing thread on this issue, but it has been inactive for some time and it is not really concerning my main question, so I decided to post a new thread.
I am referencing the thread here:

http://www.tasharen.com/forum/index.php?topic=3976.0;prev_next=prev

My problem is that I want to use radial fill, but in a way that it follows the contour of a circle and does not cut it at an angle. Is this possible? I'm assuming that I need to alter the Radial180 option of FilledFill() but I don't really know where to begin.

Thank you!

8
NGUI 3 Support / Re: Change fill direction of radial fills?
« on: April 25, 2014, 05:47:00 PM »
Could you possibly expand on your solution and give steps on how you did it? I am having this same issue and really need to resolve it! I am particularly interested in figuring out how to get it to fill in such a way that it fits with the contour of a circle, so it is not cutting off the end of it at an angle.

Thank you!

Thank you!

Pages: [1]