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

Pages: [1]
1
Actually, I'm the one updating the atlas. I don't completely recreate it, I use "Add/Update All" button. Is there some other way to do it?

Could it be because this project is still running a ~5-month old copy of NGUI?

2
I notice that every time I receive a menu update from an artist and I rebuild my atlas, the options (dimensions/border/padding) I've set on all the sprites get reset. Is there any way to have these preferences adjust themselves when the atlas is rebuilt? Or is this something that has been added in a recent version? It's a huge pain to have to go back and make adjustments on each sprite every time I want to update a single element on the menu.

3
In short, you need to overlap them by a pixel.

Hm, okay. I have tried that before, but when I use y-padding = -1, instead of a flickering gap, I get flickering overlap. That also looks a bit weird because each row has a drop-shadow on the sides. So I get a single pixel of extra-dark shadow. Ah well. I guess I'll keep tweaking it. At least the overlap is less noticeable than the gap. Thanks. :)

4
Hey,

I've got a draggable panel which contains a single-column table that lists a player's ongoing games. When I drag the panel, single-pixel gaps between the rows briefly appear, and I can see through to my background. The atlas is set to point filtering, and seems to get worse with bilinear/trilinear filtering. Any thoughts on what might be causing these flickering gaps? It looks pretty noticeable as-is.

5
NGUI 3 Support / Re: UIDraggablePanel and Restrict Within Panel Issue
« on: December 12, 2012, 03:33:02 PM »
Ah-hah! That was it. Thanks!

6
NGUI 3 Support / Re: UIDraggablePanel and Restrict Within Panel Issue
« on: December 12, 2012, 02:17:37 PM »
Possibly an unrelated issue, but it looks like this solution has a problem on an iPad 4. The screen height is being reported correctly by Screen.height, but the clipping area is far too large (by a factor of 2 or so?). Any thoughts on what might be causing this?

7
NGUI 3 Support / Re: UIDraggablePanel and Restrict Within Panel Issue
« on: December 12, 2012, 01:00:59 PM »
No problem, thought that might be the case. Setting the clipping size to the screen size in Awake() does the job. Thanks. :)

8
NGUI 3 Support / UIDraggablePanel and Restrict Within Panel Issue
« on: December 11, 2012, 07:05:09 PM »
Hey,

I have a UIDraggablePanel which scrolls vertically. I have soft clipping at the edges of the screen, and I'm setting the clipping size to (0, 0) to fill the screen. Looks great when I manually move the contents of the draggable panel in the editor, but there's a problem when I use Restrict Within Panel which only occurs when my clipping size is (0, 0). Instead of entirely restricting the contents within the bounds, the bounds (indicated by the orange outline) cannot cross y=0. That is, the top of my content cannot go below the half-way mark on the screen. Likewise, the bottom of the content cannot go above y=0. If the contents of the panel are large enough, they can still extend beyond the edges of the panel.

Is this the expected behavior? Am I doing something wrong?

Thanks.

Pages: [1]