-=-
Menu
Tournaments
Profile
Poll
Latest videos
Latest comments
2018-02-08: "t3'd" -King
2018-01-21: "YaKeti YaK The ..." -Vivando
2017-10-22: "Gauntlet is onl..." -MasterSven
2017-10-22: "Throw elmsuper ..." -Jelly Jam
2017-10-22: "WW is relativel..." -KRSplatinum
2017-10-22: "Or Epitome/ww/b..." -MasterSven
2017-10-22: "bblair/je???you..." -KRSplatinum
2017-10-22: "No bblair, no l..." -Jelly Jam
2017-10-21: "No Urbs, no win..." -MasterSven
2017-10-21: "Haha good job M..." -Slaz
Latest matches
flag [GpW] [03:04] CCflag
flag CX [05:04] -t3>flag
flag -t3> [16:02] [GpW]flag
flag -t3> [11:05] [GpW]flag
flag -t3> [07:03] [GpW]flag
flag CX [09:04] -t3>flag
flag -t3> [06:01] [GpW]flag
flag [GpW] [05:07] CCflag
flag -t3> [11:04] CCflag
flag [CDF] [10:04] [GpW]flag
Latest forum posts
By: Pariah, in: jjnet is ded « Ask Tira2018-02-20 21:58
the ladder site does what it exists for, posts la...
By: Jelly Jam, in: Flamin' Bunnies is now part of Gurus of Proactive Warfare « Clan talk2018-02-15 17:24
Correct.
By: KRSplatinum, in: Flamin' Bunnies is now part of Gurus of Proactive Warfare « Clan talk2018-02-15 03:56
[quote="MasterSven"]How can it remind you of CDF/C...
By: MasterSven, in: Flamin' Bunnies is now part of Gurus of Proactive Warfare « Clan talk2018-02-11 19:30
I agree that sucks too

JJnet's forum

«Latest posts» «Latest threads» «Search» «User CP»

View post
GLaDOS
avatar
Return to thread2012-05-27 10:44
Assuming you will still be using SFML: it should be fairly easy to just scale down the window size/screen resolution outside out the server range if necessary and just have SFML automatically apply the sf::View size, scaling down the window content.
Basically, if your system's maximum is 640x480 for some reason, but the server requires 1280x960, your client will use 640x480 as its fullscreen resolution/window size, but display the game content zoomed out x2. SFML should actually do this automatically, depending on the way you use sf::View. For clamping the view to lower maximum resolutions, I suggest either scaling the game up to fill the screen, or using sf::View::​setViewport() to create a "frame" around the game as JJ2 does now.