I’m trying to figure out a way to draw an empty circle (i.e. the appearance of a curved line following a circumference) using bgl in the game engine. I’ve made a few attempts and have trawled google with no success so far, and so I was wondering if anyone knows of a method of doing this that doesn’t require any external modules like tkinter.
The purpose of this is to create a circular health bar. I’ve made similar UI elements before using 3D objects and scene overlay, but I prefer the reliability of using bgl and being able to place GUI elements precisely with relation to screen size / edges.
If anybody can give me any pointers or advice on this I’d be massively grateful. Thanks!