Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: motionsmith on March 25, 2013, 04:30:32 PM
-
I'm working on getting atlas swapping working to support both HD (retina display) and SD.
My question is, when an atlas is swapped at runtime, how does a widget know which sprite to use if the SD Sprite and the HD Sprite have different names? Is it mapped by the display order in the Atlas Maker window?
-
It doesn't. They should be named the same.
-
The Sprite name is taken from the name of the texture, and I don't see a way to customize that. That means both my HD and SD textures have to have the same name? Obviously this isn't possible, unless they're in different folders. So is that then the workflow? Put the SD and HD textures in different folders and make sure they're named the same?
-
Yup.
hires and lores folder.