Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: elizeusz on October 05, 2012, 02:08:11 AM

Title: Atlas resolution
Post by: elizeusz on October 05, 2012, 02:08:11 AM
Hi is there the way to change resolution of my atlas for example 2048 by 2048 without loosing my spritse in the game ? If i do eh resolution change my sprites are not theseme.
Title: Re: Atlas resolution
Post by: yuewah on October 05, 2012, 02:54:52 AM
what altas packer are you using ?
Title: Re: Atlas resolution
Post by: ArenMook on October 05, 2012, 09:01:56 AM
Yup. Change the coordinate system on your atlas by selecting it and choosing "TexCoords". You can then resize the image freely.
Title: Re: Atlas resolution
Post by: nah0y on October 10, 2012, 05:59:59 AM
Is there an inconvenient in using TexCoords ? Is it less precise than pixels for example ?
Title: Re: Atlas resolution
Post by: ArenMook on October 10, 2012, 09:49:49 AM
You don't need to keep it active. Once you open up your atlas that got its texture resized, you can switch it back to pixels.
Title: Re: Atlas resolution
Post by: nah0y on October 10, 2012, 09:51:06 AM
Okay but is there an advantage / inconvenient about using Tex Coords or Pixels ?
Title: Re: Atlas resolution
Post by: ArenMook on October 10, 2012, 09:51:43 AM
TexCoords doesn't support all features.
Title: Re: Atlas resolution
Post by: nah0y on October 10, 2012, 09:54:04 AM
Oh yes I see, thanks ;)