2D Toolkit Forum

2D Toolkit => Support => Topic started by: Raviede on April 02, 2014, 10:40:43 am

Title: Circular Progress Bar
Post by: Raviede on April 02, 2014, 10:40:43 am
I have this overlay -> (http://i57.tinypic.com/vdfxuo.png) which needs to disappear in a circular fashion and I tried using clipped sprite. But unfortunately I can only clip it starting from the sides. Is it possible to clip it like the overlay in this picture -> (http://i57.tinypic.com/x6j80o.png) ?
Title: Re: Circular Progress Bar
Post by: unikronsoftware on April 02, 2014, 11:09:11 am
The clipped sprite doesn't support circular shapes at the moment. Someone contributed some code in the private support forum, but the link is now dead.
Title: Re: Circular Progress Bar
Post by: Raviede on April 02, 2014, 11:13:54 am
Noooo!  Might there be another way of doing this instead of clipped sprite? Thanks for the reply!
Title: Re: Circular Progress Bar
Post by: unikronsoftware on April 02, 2014, 11:25:25 am
You could write a shader to do it, but it'll probably be easier to modify the clipped sprite code to do it.
Title: Re: Circular Progress Bar
Post by: Raviede on April 02, 2014, 11:30:18 am
I see. Thanks again!
Title: Re: Circular Progress Bar
Post by: wagenheimer on April 08, 2014, 03:49:29 am
Any progress on this? I will really need something like this!
Title: Re: Circular Progress Bar
Post by: theschnuffel on May 21, 2014, 04:51:38 pm
Same here. I really need this.
Is there some code sample for the clipped sprite?
Title: Re: Circular Progress Bar
Post by: fsadeq on May 21, 2014, 08:18:06 pm
Guys - check this thread out: http://2dtoolkit.com/forum/index.php/topic,3629.msg18885.html

It works fantastically, the only thing is I can't get it to progress in the other direction.
Title: Re: Circular Progress Bar
Post by: theschnuffel on May 21, 2014, 09:13:40 pm
The link doesn't work?
"The topic or board you are looking for appears to be either missing or off limits to you."
Title: Re: Circular Progress Bar
Post by: wagenheimer on May 21, 2014, 09:15:24 pm
Try this one :

Edit: Link removed - don't share links containing tk2d source outside the private forum.
Title: Re: Circular Progress Bar
Post by: theschnuffel on May 22, 2014, 08:29:46 am
This is great, thank you!

Now I just need to fiddle with it to invert it and make it start from an arbitrary angle.
Title: Re: Circular Progress Bar
Post by: fsadeq on May 22, 2014, 01:41:49 pm
theschnuffel, if you manage do you mind sharing? Thanks!
Title: Re: Circular Progress Bar
Post by: unikronsoftware on May 22, 2014, 02:34:12 pm
Its in this thread here. Look for the dropbox link
http://2dtoolkit.com/forum/index.php/topic,3629.msg18885.html
Title: Re: Circular Progress Bar
Post by: Rif on July 18, 2014, 11:04:34 am
Its in this thread here. Look for the dropbox link
http://2dtoolkit.com/forum/index.php/topic,3629.msg18885.html
I couldn't open the thread.

I got "The topic or board you are looking for appears to be either missing or off limits to you."
Title: Re: Circular Progress Bar
Post by: unikronsoftware on July 18, 2014, 01:56:07 pm
You need to register your copy. Instructions here -
http://2dtoolkit.com/forum/index.php/topic,34.0.html
Title: Re: Circular Progress Bar
Post by: yo_milo on November 20, 2015, 05:53:49 pm
So, this is not an official feature yet?
Title: Re: Circular Progress Bar
Post by: unikronsoftware on November 22, 2015, 11:58:17 pm
No it isn't, and I don't think it'll ever be as all my time on this project is used up for support.