Arc Generator
A threshold based arc generator. Generates a PNG image that can be used with a threshold based shader to create a progress bar of sorts. You can use images generated by this system to create various types of progress bars, round timers, health/stamina bars, ammo indicators, etc.
Included for download (buttons on the top) are the actual generator and a sample shader.
If you want something like a dynamic indicator in your Godot game, you can use the script to generate one in real time. You can apply the shader directly to this object. However, you can also place this object in a SubViewport and connect the updated signal to update the viewport once; this will allow you to update the indicator only when properties change.
To generate something like outlines, you create a 2nd background layer with similar properties (just a bit wider) and layer them together.

Leave a comment
Log in with itch.io to leave a comment.