Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 18 Sep 2013
Offline Last Active Oct 01 2013 08:18 PM

Topics I've Started

Circular HP bar (OpenGL)

18 September 2013 - 06:56 AM

I was trying to make a circular HP bar using OpenGL with SDL, like this:

It's Touhou 14 BTW.

For that the game uses a single image, which is this the attached file.

I suppose that the pink lines are the life bar itself and the blue thing is for marking in the lifebar how much damage you must do to trigger the spellcard. But, how can i do a circle using that image in a polygon shape?