1
Graphics / Re: Drawing a Circle Based on Time
« on: December 21, 2017, 03:13:14 am »
Sorry, I did a terrible job describing my issue.
I want to draw an outline of a circle around my mouse cursor whenever the player reloads. My idea is to draw the circle in a specific amount of time depending on the gun. So if a guns reload speed is 6 seconds, then the circle should be fully drawn in 6 seconds. This would mean that I would like to drawn some number of points in order to achieve 360 degrees in 6 seconds. Does anyone know of a way to solve this problem.
Also, I'm new to drawing shapes in SFML and I'm trying to find the best way to draw my circle. What is the best way to draw only the outline of a circle?
I want to draw an outline of a circle around my mouse cursor whenever the player reloads. My idea is to draw the circle in a specific amount of time depending on the gun. So if a guns reload speed is 6 seconds, then the circle should be fully drawn in 6 seconds. This would mean that I would like to drawn some number of points in order to achieve 360 degrees in 6 seconds. Does anyone know of a way to solve this problem.
Also, I'm new to drawing shapes in SFML and I'm trying to find the best way to draw my circle. What is the best way to draw only the outline of a circle?