A circular healthbar, drawn by wrapping a sprite around a coordinate.
Version 1.0.0. Published July 4, 2014
Created with GameMaker: Studio v1.99.166
You can only review assets you've bought.
interesting concept but I run into a compile error saying I need 6 arguments even though the window only gives me the option to input 5. the 6th one would theoretically be the sprite but there is no box in the event window for it. if I get it working I will revise my rating. it would have been nice if comprehensive instructions had been included
Great script, but counter clockwise is needed, and if i have semicircle like a "C" doesn't work.
Recommended for learning purposes
This is very heavy on performance, but it helped me better understand how drawing with vertices works. So i recommend it for learning purposes.
Does what it says it will do, however it only works for a simple repeatable pattern, special effects will just get smeared.
It's nice but it needs to be commented better. It's difficult to look at the code and see what everything does.
Nice looking but very heavy on performance
Looks very good but you have to blur the edges of the sprite to not get the same aliasing look as the primitive draws.
The only problem is the performance, with 2 circles even at like 40 steps (default is 200) it sits at like 10% total game performance for 2 circle draws, thats above all my other code and draws and I have a very performance heavy game.
For 99% of game maker games this should not be a problem however.
Excellant, and Free to boot.
Great Health bar system
Pretty nice :)
First time downloading something from the marketplace, good job on the health bar :)
Needs more options
+ 1 for the option to draw clockwise and counter clockwise.
Simple to use, just works
Thanks for this contribution.
Great! one suggestion though
I would like to request the option to draw clockwise and counter clockwise. Other then that the script works great
Works as advertised.
Here's some suggestions. I noticed you hard-coded the steps (line segments that make up the circle, basically) to 200. Not good - put an argument in that lets the user decide. Also, when I tried putting in a cool sprite (say, lightning for example) the script just smeared it. If you are going to use a sprite in the script, it needs to repeat the texture. Otherwise you could easily change to using just vertex_color and get a nice performance increase. Hope this helps you and good luck!
Just What i was looking for!
This is just great, i have been looking for some way to make circular healthbars for such a long time and just could not get my head around them, now with this i not only can use them now but also understand them and how to make them from scratch, thanks for a great addon, that may i add works perfectly.