2D Toolkit Forum

2D Toolkit => Support => Topic started by: Jefemcownage on June 04, 2012, 07:37:42 pm

Title: draw a portion of a sprite
Post by: Jefemcownage on June 04, 2012, 07:37:42 pm
Hi I'm wondering if it's possible to draw a portion of a sprite with this plugin? I have a power meter that I'd love to do as one sprite. I know this is possible in the unity GUI but I haven't come across any documentation for it in tk2d.
Title: Re: draw a portion of a sprite
Post by: unikronsoftware on June 04, 2012, 08:27:00 pm
Hi,

There isn't in the official distribution, but there is a sample here which lets you do it -
http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,115.0.html

It will be part of the core distribution eventually, just not got around to testing it and cleaning it up sufficiently.
Title: Re: draw a portion of a sprite
Post by: Jefemcownage on June 05, 2012, 08:57:05 pm
I don't think I have permissions to see that so I went ahead and tried to register my invoice to see it. Hopefully that will fix it?
Title: Re: draw a portion of a sprite
Post by: unikronsoftware on June 05, 2012, 09:08:15 pm
Yes, it will. Just approved it.
Title: Re: draw a portion of a sprite
Post by: Jefemcownage on June 06, 2012, 05:00:43 pm
THANK YOU. THIS IS AN AMAZING FEATURE!
Title: Re: draw a portion of a sprite
Post by: cppboris on July 04, 2012, 09:14:30 am
Hello,

I have the same question and can not read the topic listed above. Could you please help me? BTW, I have tk2d license.
Title: Re: draw a portion of a sprite
Post by: unikronsoftware on July 04, 2012, 10:00:01 am
Hi cppboris - simply register your copy following the instructions here -
http://unikronsoftware.com/2dtoolkit/forum/index.php?index.php/topic,34.0.html (http://unikronsoftware.com/2dtoolkit/forum/index.php?index.php/topic,34.0.html)

That'll give you access to the private support forum.
Title: Re: draw a portion of a sprite
Post by: cppboris on July 04, 2012, 10:48:46 am
Thank you, problem solved.