Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Fullscreen and wide monitors  (Read 2219 times)

0 Members and 1 Guest are viewing this topic.

Maxi_dp4

  • Newbie
  • *
  • Posts: 1
    • View Profile
Fullscreen and wide monitors
« 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.

Daazku

  • Hero Member
  • *****
  • Posts: 896
    • View Profile
Fullscreen and wide monitors
« Reply #1 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...
Pensez à mettre le tag [Résolu] une fois la réponse à votre question trouvée.
Remember to add the tag [Solved] when you got an answer to your question.

Avency

  • Full Member
  • ***
  • Posts: 113
    • View Profile
Fullscreen and wide monitors
« Reply #2 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.