Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: rxmarcus on November 19, 2014, 12:16:07 AM

Title: NGUI & 2DToolkit Sprite Collections
Post by: rxmarcus on November 19, 2014, 12:16:07 AM
From my understanding, at the moment you cannot use sprites created via 2D Toolkits sprite collections inside NGUI. (Is this correct?)

If this is true, is there any intention to make this happen in the future?
I am creating a story book app and LOVE being able to use NGUI's Scroll View widget but also will have multiple resolutions of all the story artwork and as such was wanting to use 2D Toolkit sprite collections to handle that side of things.

Any suggestions if I'm just thinking about this all wrong in the first place?
Title: Re: NGUI & 2DToolkit Sprite Collections
Post by: dilshod on November 19, 2014, 05:35:05 AM
I am doing same thing in my current project. I wrote a script which renders one or more tk2d sprites as one ngui object. You can find it in the attachment. I made it to be able programmatically create sprites and change shader at runtime.
Sprite type and Flip does not work.
Title: Re: NGUI & 2DToolkit Sprite Collections
Post by: rxmarcus on November 19, 2014, 03:10:29 PM
Wow, thank you very much. I'll give this a try later today.
Title: Re: NGUI & 2DToolkit Sprite Collections
Post by: Tork on April 22, 2015, 12:03:10 AM
This is simply awesome!! THANK YOU!!