Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: bezii on February 16, 2014, 06:42:48 PM
-
How to cut atlas because it is almost empty i want to save some space and reduce the game size
(http://s9.postimg.org/uow299iy7/atlas.jpg)
-
I'm experiencing this as well. After removing an image that was too large that was accidentally added, my atlas doesn't scale back to a smaller sized image while that would be possible.
On 3.0.9 f7.
-
bezii:
Do you need a square texture? And do you really need that long purple line in there?
With square textures, your cannot make it any smaller, since usable area would be one quarter of the current texture. And those component you have in that texture won't fit to 1024x1024. That is problematic specially with iOS since PVRTC only accepts square textures.
And since the atlas generation doesn't do rotation, you should always avoid putting textures in it which have like 2x756 pixels dimensions.
-
Long, thin objects are treated as square by Unity's packing algorithm, and are notoriously bad for packing.
So if you have a 2x800 line in there, it's going to be treated as 800x800, pretty much.
Eliminate long & narrow sprites. Use sliced sprites.