SFML community forums
Help => Graphics => Topic started by: reethok on February 17, 2015, 11:03:17 pm
-
Hi!
I'm wondering if there is a straightfoward way to scale / calculate positions of the sprites showed on screen depending on the resolution selected, or do I have to manually code it?
Any ideas on how can I do it?
Thank you :)
-
Use a view (http://www.sfml-dev.org/tutorials/2.2/graphics-view.php) or do it by hand. I mean SFML can't mind read how you think a sprite should look like give a resolution. ;)