SFML community forums

Help => Graphics => Topic started by: Maxi_dp4 on August 17, 2008, 03:02:08 am

Title: Fullscreen and wide monitors
Post by: Maxi_dp4 on August 17, 2008, 03:02:08 am
Hi guys, i'm developing a 2D game using a resolution of 800x600 and fullscreen. The problem is in wide monitors, the game loses quality and gets disproportioned, in normal (square) monitors it looks good.
I hope that you could give me a solution, if more info is needed, just tell me.

Regards.
Title: Fullscreen and wide monitors
Post by: Daazku on August 17, 2008, 05:30:58 am
You said it: 800x600.... That why its ugly in wide screen... You should handle any resolution.... Like web site...
Title: Fullscreen and wide monitors
Post by: Avency on August 17, 2008, 11:53:20 am
You could try to set the fullscreen resolution to desktop resolution (sf::VideoMode::GetDesktopMode) and use a centered sf::View depending on the desktop resolution.