Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: noob22 on July 02, 2012, 09:55:44 PM
-
Why they change position?
-
If your sprite doesn't have even dimensions (such as 20x30), and instead has even dimensions such as (21x33), dividing that by 2 in order to center it results in a floating point value. such as 10.5 x 16.5. That's why you see "0.5" there. It just ensures that the pixels look crisp.
-
If your sprite doesn't have even dimensions (such as 20x30), and instead has even dimensions such as (21x33), dividing that by 2 in order to center it results in a floating point value. such as 10.5 x 16.5. That's why you see "0.5" there. It just ensures that the pixels look crisp.
Thanks for your reply!
You are so kind!I'm a beginner!Thanks!