Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: primus88 on August 14, 2013, 03:19:59 PM
-
Hello,
1. I've seen this discussion brought up before. Tried the script attached to UIRoot, tried setting the UIRoot to static, tried with UIStretch, nothing worked.
How can I resize the UI based on the aspect ratio so that it always looks good ?
When I switch from 16:9 to 5:4 let's say, icons start to overlap etc..
2. Is there a way to change the button sound for all the buttons in the project, or at least a scene at the same time ?
Or I have to go through each button and change it manually ?
Thank you
-
1. "so that it always looks good"?
Going from 16:9 you have two choices: either you skew the shit out of your UI, warping it so that it "fills" the UI even if the aspect ratio is different... (and this will look ridiculously ugly by the way)... or make your UI modular so that you are taking advantage of multiple anchor points (watch the 'catering to different screen sizes' video on the ngui docs page).
2. Yeah, replace your sound file in explorer. :P
-
1. Thank you, I will take a look. It is sad, because I really like the UI so it would suck to ruin it by applying a 'skew the shit out of it'
2. Lol, that is a great idea :)))
Thank you