SFML community forums
Help => General => Topic started by: SuperV1234 on June 17, 2010, 02:52:17 pm
-
Is there a way to resize a 640x480 window to 2x the size?
I just want it to be a graphical resize, no effect on gameplay whatsoever.
Think about pixel-art games that run at 320x240, but you can upscale them at 3x, 4x. That's what I'm looking for.
-
There's nothing particular to do, just resize your window and SFML will do the job.
-
Great, it works fine :)
What if I need to display it at a widescreen resolution by adding black bars?
-
You can control the size (and thus the aspect ratio) using sf::View.