Graphics

Using graphics module Graphics display colored ring in motion.
Help me, please.
I seem to be missing the question.

Could you please be a little more clear as to what you need help with?
Do you have code? Put it up if you do.

Read about the Graphics module here: http://www.sfml-dev.org/tutorials/2.0/graphics-draw.php .
Last edited on
Could you please be a little more clear as to what you need help with?


I need to get on the screen rotated colored ring.
Get a colored ring from a website (EX: http://www.perfectsync.com/rt/DevTools/GfxToolsSamples/ColorRing.jpg ).

Then follow the rotation guide here: http://www.sfml-dev.org/tutorials/2.1/graphics-transform.php .

You can have a for loop that rotates the entity at a certain speed that can be regulated by a sleep function. See: http://stackoverflow.com/questions/6134679/delaying-for-milliseconds-in-c-cross-platform#answer-6134712 .
Last edited on
Topic archived. No new replies allowed.