1
Support / Re: How to display a sprite within a sprite collection in an editor window?
« on: February 02, 2016, 11:26:14 pm »
So I went through and looked at the code. I guess I'm just not understanding because every variable used to create the texture I see in the tk2dSpriteThumbnailCache (I was taken there by following the code from tk2dSpriteEditor) are the same between all the sprite definitions. The only things I've found to really be different are within the UVs and the RegionX/Y/W/H. And when I look at those variables I just don't understand how I can make them connect to the atlas texture. As the UVs are extremely small floats and the regionX/Y point to completely different locations on the texture.
