Hey, so I’m looking to create an in-game crosshair that changes in size depending on the spread of the weapon that you’re using.
The problem, is that I’m also hoping to have many different types of crosshairs in the game. Sure, I can create a simple “+” crosshair out of 4 frames and just spread them apart, but what about circular crosshairs?
Basically, I don’t think I can.
I’ve tried using a sprite, but of course when I scale that it also increases the thickness of the border, which is a problem. There’s also the problem of blurriness at different sizes.
I’ve also tried just making a crosshair out of a bunch of frames, but the problem there is that at certain sizes the crosshair has issues keeping the frames at the same relative position and size.
If it matters, this was created by placing a bunch of frames with scaled size and position inside of a larger frame, which is then resized. Maybe this is causing some of the issue, lmk if you think so.
An example:
Crosshair at full size - https://gyazo.com/94132d393787818beadc913d90cd5aaf
Notice that the top left and top right frames are thicker than the bottom left and bottom right frames?
Crosshair at quarter size - https://gyazo.com/924b72c941d46f8c40dca987f0a96972
Now, notice that the bottom right frame is thicker, and also slightly out of place?
This causes a pretty inconsistent, non professional look.
Anyways. I’m looking for any suggestions or ideas on the matter. Do you guys think it’s possible to create this sort of ui, or should I just stick with a normal “+” crosshair?