Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: tyinus on August 21, 2012, 11:12:49 PM

Title: Adding new sprites?
Post by: tyinus on August 21, 2012, 11:12:49 PM
This seems like a silly question but I'm having trouble tracking down an answer...

I have NGUI and I can add a sprite widget to my panel. I can see the various sprite options ("dark", "button", "light", etc). How can I use my own 2D images, however? If I just want to add a simple png graphic (or other texture) as a sprite to my UI hierarchy how can I do that?

Title: Re: Adding new sprites?
Post by: frog on August 22, 2012, 02:14:25 AM
I did this by adding the images to an atlas.
Then use a UIImageButton and select image from atlas.
Title: Re: Adding new sprites?
Post by: dlewis on August 22, 2012, 02:16:04 AM
You should check out the video tutorials on how to use the atlas maker.