Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Mickman on March 17, 2013, 02:03:29 PM

Title: iPad 1024 x 768 BG preview in unity [SOLVED]
Post by: Mickman on March 17, 2013, 02:03:29 PM
Hi,

I'm wondering.... why is it when I pull a background image (1024x768)  in my Atlas onto the scene suddenly looks huge ?

I hit play to run my scene and yet the background image is huge.   I can of course scale the image till it fits accordingly but I am under the impression this should not be required.. since I created it to be the correct dimensions in Photoshop. 

It was exported from P-shop as 1024x768  & I view the image in the inspector it shows as 1024x768. 

So I am wondering should it not align perfectly when I add it to my scene.. 
note: the game view is set to  iPad Wide (1024x768)  & it is set to center...   so it should sit  perfectly in place

 yes ??
Title: Re: iPad 1024 x 768 BG preview in unity
Post by: Nicki on March 17, 2013, 04:03:16 PM
Are you creating a sprite properly under your UIRoot?

If your UIRoot is set to be PixelPefect, then your sprite should be scaled to 1024,768,1 and be just that - pixel perfect.
Title: Re: iPad 1024 x 768 BG preview in unity
Post by: Mickman on March 18, 2013, 05:05:30 AM
OK got it operating ... I was pulling the background onto the Panel  (not the UI Root )  Now looks as expected

THx  :D