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

Pages: [1]
1
I use scaling since it's a popup and I always want it to be the same size on the screen no matter the resolution of the device.

2
and I fixed that by popping the scale back to 1, then back down once the list was finalized.

Seems pretty hacky of a solution, am I missing something here?

3
Update: That seemed to have fixed it for single groupings, however when switching between different gear tabs it gets messed up again, presumably since the popup has been autoscaled and is not at scale 1.

Hmmm.

4
Ah thanks for the suggestion. That helped me figure it out!

This was in a popup, and I use a manager that creates the popups and auto scales to res. The scaling of the popup is what messed it up. I needed to initialize at scale 1, then wait a frame and scale it to screen res to fix it.

5
Thanks for the reply. I actually am doing that already and it resets to the Screen 1 above.

6
NGUI 3 Support / Scrollview and Grid issue - empty space at top and bottom
« on: December 15, 2014, 05:41:17 PM »
Hello again!

I've been having an issue with scrollviews and grids for some time when creating a dynamic content list for the grid. There seems to be an added space at the top and the bottom of the grid and the scrollview will scroll to it, not clamping properly contents.

Examining the examples compared to mine, the only difference I've noticed is in your example the list is manually added and placed.

Screen 1 - this is how the list defaults


Screen 2 - shows that the contents will scroll up to the panel size, however it will allow the user to continuing scrolling showing an empty space at the bottom similar to the space in the above screen


Notes:
- I do manually reposition the grid and reset scrollview position after populating the list, which again defaults to screen 1 results.
- One thing that looks odd to me is the size of the grid (in the runtime looks larger than the panel its parented to), which Im not sure what would be controlling that other than cell width/height, which would skew my contents if adjusted.

Any insight would be much appreciated!

Thanks,
Jeff

7
NGUI 3 Support / Re: Point Scaling on Android Devices getting blurry
« on: December 15, 2014, 01:30:47 PM »
That was definitely it! Thanks so much :)

8
NGUI 3 Support / Point Scaling on Android Devices getting blurry
« on: December 15, 2014, 01:05:45 PM »
Hi all,

I'm working on a retro style pixel game and am looking to achieve a pixel look for the UI.

I have it working properly on PC, however whenever I build to my Android (nexus 7) device it constantly blurs the NGUI textures. Note: Regular unity sprites that I set to point look proper.



Notes:
- NGUI atlas is set to 2048 'true color' and no overrides for any devices and point scaling
- Pixel Perfect on UIRoot is set
- I'm on version 3.4.9

Any ideas? I've done a lot of searching and couldn't find this scenario. Any help is appreciated!

Thanks
Jeff

Pages: [1]