SFML community forums
Help => General => Topic started by: Weeve on October 21, 2011, 08:30:43 pm
-
how do I get the pixel size of a screen? im making a full screen game based on a 32X32 pixel grid. I need to be able to find the centre, and set the background sprite's size accuratley
-
Get desktop size. http://www.sfml-dev.org/documentation/2.0/classsf_1_1VideoMode.php#acdc9c223fb5fcba8956bc6004addf3fa
-
Thankyou! :D I vote for re-naming of "desktop mode" to "screen mode"
-
I vote for re-naming of "desktop mode" to "screen mode"
Depends what the "screen" is. To me, it refers to the physical monitor more than the OS desktop.