Trying to do something that sounds rather simple - each unit has different attack range, I want to draw a circle around that unit, and the size of the circle depends on the range.
This is in 2D, and the problem is that if I use a sprite and stretch/skew it, the thickness of the outline changes. I’d like to do something similar to the UI 9-slice for dialogs, so that the inside can stretch/skew (in my case the inside is transparent), but the outline will keep it’s thickness.
Any tricks on how to do this without creating many different sprites?