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

Pages: [1]
1
NGUI 3 Support / Re: FixedDimensions
« on: February 06, 2014, 05:40:29 AM »
so - one question on the resizing thing. i'm trying to resize the scale of the UIRoot but it doesn't let me edit it. before when i was resizing, i was using Anchors. this worked fine before but not sure it is a preferred method?


2
NGUI 3 Support / Re: FixedDimensions
« on: February 06, 2014, 04:01:11 AM »
interesting... so if i had a setup script like:

so if i simply just have a script that in the Start() function uses Screen.height. like:

if(Screen.height < 1536){
//change settings for nonRetina
} else {
// use Retina Settings
}

that would work?

3
NGUI 3 Support / Re: FixedDimensions
« on: February 06, 2014, 03:31:53 AM »
not to butt in on this thread, but is there any way to perhaps resize UIRoots based on the physical screen dimensions? can a script poll for a device's resolution and act accordingly? i'm having issues with your script Ugur, but it may be how i'm implementing it. at the moment it acts exactly as you don't want - it resizes text smaller on larger PPI devices.

scott


4
NGUI 3 Support / Re: NGUI UIs w/ multiple device resolutions
« on: February 06, 2014, 03:09:10 AM »
OK - something is wrong here, Ugur. either i'm not doing something correctly or this script isn't doing what it's supposed to do. i'm doing this for iPads only, so i set the Manual Height for my various UIRoots to 768 with the Min height at 768 and the Max Height at 1536 (the height of a iPad Air). pixel density is 160.

in the project itself it sizes correctly for each scene in Play mode. running on the device though results in significant inconsistencies.

so am i not doing something properly or maybe there's another method? just not sure here. advice appreciated...

scott

5
NGUI 3 Support / Re: NGUI UIs w/ multiple device resolutions
« on: January 29, 2014, 05:36:10 AM »
thanks for the link and advice Ugur! i'll give you a proper thank you once i've tested it out. actually, i'm brand new here. do i do the thanking under your profile?


6
NGUI 3 Support / NGUI UIs w/ multiple device resolutions
« on: January 28, 2014, 09:52:30 PM »
hi Folks! thanks for making such an awesome product!

i'm running into some difficulties in my app with the size of my interface relative to other platforms. i noticed that the builds on my iPad4 had much smaller text size that what appeared in my Unity project. to work around this issue, i resized the Anchors and went back and forth on builds until everything looked fine on the device, even though it looked wrong in the project. the method also seems to have worked for the iPad3. however, the iPad2 now shows the text too large (probably due to smaller screen size).

i ran into a somewhat similar post referring to different resolutions that seemed to indicate that NGUI could query for a particular resolution and then do different things based on that resolution. can you point me to the method that might cover this situation? or is there another recommended approach that would allow me to keep my GUI sizes appearing consistent? right now i'm using PixelPerfect but i seem to remember changing it to Fixed had no effect.

any help appreciated.

scott

Pages: [1]