20
« on: December 07, 2016, 01:55:30 am »
Hello everyone,
I've been using SFML now for around a week and still didn't figure out how to properly fullscreen and can't find anything about it online. I am probably just stupid and missing something obvious, but I just can't manage to fullscreen without a stretched display of everything.
So I create my videoMode, set it's size to 1920, 1080, bbp to 32, and it always just stretches everything, even in default view (not fullscreen)
Am I understanding something wrong? When I have 800x800 as ´Window Size, it should create a window with 800 pixel width and height. When I create one with 1920 pixels width, pixel 800 (or any pixel), should be still on the same spot, it is one pixel. I just do not understand how the sprite is being stretched, as if I would somewhere say, hey render the game at 1:1 ratio and stretch it to 1920x1080.
I tried to add a view, but no matter what I set as the size there, it stays stretched..
I am just looking for a way where I can have fullscreen, and 400 pixels width are in fact 400 pixels in width, so that it has the right proportions.
Thanks a lot in advance!