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 - unity1.ftb

Pages: [1]
1
NGUI 3 Support / Re: UI Sprite issues on android devices
« on: April 08, 2013, 06:31:18 AM »
Hi,

Can you explain why this option is not supported in some android devices, please? (just to learn)

I'm porting one of our ios projects to android and was having this problem. Unchecking depth pass does solve the issues, but there are too many panels in the project to check manually (is a "manager" like game, too many interfaces...). Is there a more global workarround or method to solve this all across the app at once?

Thanks and have a nice day

2
NGUI 3 Support / Re: Mixing different atlases and UITexture
« on: November 12, 2012, 09:58:27 AM »
Ok, I think my question is related to this one, so lets make a reply.

I have a similar scenario to the one described by Nicki => Trying to make a panel that contains a list of items, with drag and clip so that you have to scroll to see the full list. Each item itself has a hierarchy like this:
Background (Atlas A) in z=0
Icon (UITexture, loaded from server) in z=-1
Watermark (Atlas A again) in z=-2

Working with that, the UITexture sometimes gets behind the background as you scroll the panel. I tried to check the "depth pass" in that panel but it doesn't work ok with the clipping. So I guess I have to split all the content in 2 (or more) panels and coordinate the drags so all of them scroll at the same time... Is that the way to go? Isn't there a simpler solution with the current version of NGUI that I may try first?

Thanks for the help anyway.

3
NGUI 3 Support / Middle ratio problem
« on: September 21, 2012, 02:18:29 AM »
Hi!

We just got NGUI and it works great, but we are having problems to set our GUI design with it.

We are targeting a couple of resolution with ratios 4:3, 3:2 and 16:9 (the ios ratios, including iphone 5). The problem is that the design team decided to take 3:2 (the middle ratio, good people, terrible decision) as reference, so we have a main window that fits nice in 3:2 and has to keep that ratio in the other resolutions, and want to have empty space in the sides when in 16:9 and on top and bottom in 4:3. Is there a way to get that behavior with the built-in tools of NGUI without coding much or at all? If we set the root to manual and put the window under an anchor in the center it works well in 3:2 and wider resolutions (leaving empty space in the sides and scaling the window with the screen height), but that way the sides of the window get out of the screen in 4:3.

Thanks for the help and have a nice day.

Pages: [1]