SFML community forums
Help => Window => Topic started by: alext94 on August 11, 2014, 05:40:48 pm
-
So the coordinate system is the same as the size of the window , for example you will have a window that is 800,800 and the top left corner is 0,0 and the bottom right corner is 800,800! Can you shrink the coordinate system inside the window ?
For example you will have a window at 800,800 , top left is 0,0 but the bottom right is 1600,1600 ? But the window still only takes up the 800,800 pixels ?
Thankyou :)
-
Yes, by using views as described in the official tutorial (http://www.sfml-dev.org/tutorials/2.1/graphics-view.php).
-
Sorry I didn't see that!