Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: parag.patil on August 28, 2013, 04:48:51 AM

Title: Don't want to autoscale my UISprite on different mobile resolutions
Post by: parag.patil on August 28, 2013, 04:48:51 AM
Hi All,
I am doing a UI where in
- My UIRoot scaling style is : FixedSize.
- I want a specific screen's sprite to be pixel perfect i.e. 300x300 on all devices.

Due to my scaling style property this is also getting scaled up/down depending on device resolution.

Can anyone help me in NOT SCALING the sprite on any device?
Title: Re: Don't want to autoscale my UISprite on different mobile resolutions
Post by: missingno on August 28, 2013, 08:03:17 AM
- My UIRoot scaling style is : FixedSize.
- I want a specific screen's sprite to be pixel perfect i.e. 300x300 on all devices.

Set UIRoot to Pixel Perfect ?
Title: Re: Don't want to autoscale my UISprite on different mobile resolutions
Post by: parag.patil on August 28, 2013, 08:43:22 AM
Resolved it by script.
played with screen height and uiroot's manual height ratio
And then applied it to the local scale of sprite