An alternative circular progress bar

This is the accepted way of doing a circular progress / health bar:

However, it has a number of minor issues:

  • No anti-aliasing so you have to hide the edges under another png
  • Uses alpha cut-off, not very good for iOS

Here is an alternate method using a torus with the UVs straightened out:
http://dl.dropbox.com/u/3838312/torusProgressBar.unitypackage

The benefits:

  • Can use any shader
  • Can be transparent or opaque
  • Anti-aliased
  • Does not use any weird technique so can be batched up

The issues:

  • You don’t get a perfectly straight edge at the tip of the bar (could increasing poly count help with this?)

The reason I’ve done it is for an iPad game I’m working on, desktop users may not see any advantages really…

Anyway, just thought I’d share!

jonboris,

Neither of the links work. There seems to be a lot of periods in the links…

ugh… sorry - they should be working now

Jon, thank you for this!!!

np glad someone found a use for it!

Hey this is a great alternative, thanks Jon. Maybe post that as an answer to the infamous Unity Answers page so people will see it! :slight_smile: