Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: athos on October 28, 2012, 05:44:11 PM
-
I'm not sure how to get NGUI to play well with a mouse in certain high resolution modes and would appreciate some advice.
I'm working on a MacBook Pro Retina which normally operates in a virtual 1440x900 resolution but in high DPI mode, so you wind up in effect with 2880x1800 pixels. Unity, however, doesn't support this high DPI mode right now but it does support the full 2880x1800 when running full screen.
The problem is, in 2880x1800 fullscreen the mouse is at the same sensitivity as the 1440x900 resolution but basically feels like it has been cut in half as it travels half as far.
In other components I can (and I'm simplifying) get the mouse position and multiply by 2. But, I don't see a great way to scale the mouse sensitivity proportionately for NGUI. Any suggestions?
-
Something with Unity perhaps? What version of Unity are you running? I should be getting a retina macbook soon.
-
No, it's not Unity related, that's how the OS works in that in that resolution. If you run in that res you have to bump your mouse sensitivity up. Ideally NGUI would have a sensitivity multiplier to apply to values returned from the Input class.