Jump to content


Photo

Why You Should Not Force Screen Resolution Changes


  • Please log in to reply
121 replies to this topic

#1 GearGOD

GearGOD

    Deus Verus

  • GMC Member
  • 2153 posts

Posted 27 March 2009 - 02:10 PM

If you force a high resolution display into low resolution, game maker will resize and reposition all non-fullscreen windows to fit into the lower resolution. This is intrusive and annoying.
If you force a low resolution display into a higher resolution, there's a good chance the user will just see a black screen.
Further, if a GM game crashes after making changes to the display resolution, these changes will persist!
If you force any kind of resolution change on a multi-monitor setup, all monitors will be forced into that resolution if the user is running windows XP. This is very annoying.
There are all sorts of different aspect ratios out in the wild. If you don't account for all of them and provide an option to select the right one, your game will look bad.
Which brings me to the solution:
Please, start your game in windowed mode and provide an option to change into full screen with res change. Never ever have your game change the resolution by default[
  • -1

#2 paul23

paul23

    GMC Member

  • Global Moderators
  • 3355 posts
  • Version:GM8

Posted 27 March 2009 - 04:02 PM

While I agree games should start in windowed mode, I disagree that setting the resolution is a bad thing..

Using scaling -especially when interpolation is turned on- really put high stress on your computer (at least mine). Of course the difference depends on the game, but it's mostly around a 1/8-1/4rd drop in frame rate from even the windowed mode...

While going in full-screen from a windowed mode - and even if the resolution would be the same as the original resolution increases performance a bit!
  • 0

#3 Nehacoo

Nehacoo

    GMC Member

  • New Member
  • 180 posts
  • Version:GM8.1

Posted 27 March 2009 - 09:20 PM

Another reason would be that lower than native resolutions look like crap on LCD monitors, but I suspect (hope, at least) everyone already knows this.

It seems really low resolutions like 320x240 aren't supported anymore on newer graphics cards, not on Nvidia cards anyway. I don't know about ATI.
  • 0

#4 9_6

9_6

    Guest

  • GMC Member
  • 3627 posts

Posted 27 March 2009 - 09:42 PM

Yes.
That res change should be taken out of gm since some people insist on using it all the time *coughcactuscough*
There are other methods to prevent the upscaling blur, however a less intrusive way of changing the resolution and/or a non-interpolated upscaling so you don't need to change the resolution would solve the prtoblem.

Using scaling -especially when interpolation is turned on- really put high stress on your computer (at least mine). Of course the difference depends on the game, but it's mostly around a 1/8-1/4rd drop in frame rate from even the windowed mode...

This is false.
  • 0

#5 Rusky

Rusky

    GMC Member

  • New Member
  • 2450 posts

Posted 27 March 2009 - 09:58 PM

How is it false? "at least on my computer" so it's obviously happened to him. It's happened to me as well.
But in general, keep the resolution changes optional and not default so as not to screw up people's windows.
  • 0

#6 makerofthegames

makerofthegames

    TV's busboy

  • GMC Member
  • 7299 posts
  • Version:GM:Studio

Posted 27 March 2009 - 10:01 PM

I've never had this problem, because all my windows are usually in tabs, and even if they're not, its always in fullscreen.

:(
  • 0

#7 paul23

paul23

    GMC Member

  • Global Moderators
  • 3355 posts
  • Version:GM8

Posted 27 March 2009 - 10:09 PM

Yes.
That res change should be taken out of gm since some people insist on using it all the time *coughcactuscough*
There are other methods to prevent the upscaling blur, however a less intrusive way of changing the resolution and/or a non-interpolated upscaling so you don't need to change the resolution would solve the prtoblem.

Using scaling -especially when interpolation is turned on- really put high stress on your computer (at least mine). Of course the difference depends on the game, but it's mostly around a 1/8-1/4rd drop in frame rate from even the windowed mode...

This is false.

*starts any of his (useless) test-gamemaker-documents
*enables "switch screen modes when pressing F4" as well as "keep aspect ratio"
*presses F6
*watches f/s be around 55-60
*presses F4
*watches f/s drop to 30 followed by a stable 45-50 again
*presses F4 again
*another drop in f/s to 20, followed by a stable f/s of 55-58

I'm crazy?
  • 0

#8 Hach-Que

Hach-Que

    RoketGames Admin

  • New Member
  • 1490 posts

Posted 28 March 2009 - 09:24 AM

For any of my full screen games, I automatically detect the user's resolution and change room sizes/views based on the user's resolution.
  • 0

#9 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 28 March 2009 - 09:48 AM

The standard screen resolutions on Game Maker make Widescreen monitors look vulgur.
I agree, I hate resolution changing without a warning or an option.

For any of my full screen games, I automatically detect the user's resolution and change room sizes/views based on the user's resolution.

This is a good idea, I once created an application in Game Maker which used this theory, and it does work very well.

Edited by edmunn, 28 March 2009 - 09:49 AM.

  • 0

#10 d.man

d.man

    GMC Member

  • New Member
  • 122 posts

Posted 28 March 2009 - 11:53 AM

i agree. actually most of low resolution games could be stretched to 640x480 windowed and look as if 320x240 full screen (that's the way i do it). it's really annoying when something changes my resolution and resizes all my windows (from which most of them are not maximized).
  • 0

#11 ckv

ckv

    GMC Member

  • GMC Member
  • 46 posts

Posted 28 March 2009 - 11:59 AM

In Game Maker 5 there use to be option to use "exclusive graphics mode" which pretty much solves all the problems described in first post.

What happened to that option. Why was exclusive graphics mode removed?
  • 0

#12 Phantom107

Phantom107

    Engineer

  • GMC Member
  • 2590 posts
  • Version:GM:Studio

Posted 28 March 2009 - 12:34 PM

Stretching low-resolution games to my 1440x900 resolution looks horrible and it's annoying. So please don't do it. You could make it an option, but don't ever force it.
  • 0

#13 Tepi

Tepi

    GMC Member

  • Global Moderators
  • 4201 posts
  • Version:GM8.1

Posted 28 March 2009 - 01:21 PM

If there's listed "Changes resolution: yes" in some interesting game, I'm least likely to ever download it. When there's not said that, and it still changes the resolution, I'm least likely to ever play that game (again so to say).

So please people, making the resolution change optional, making it optional whether to go fullscreen with it or not, is not really that difficult. It may make the game run faster or look a bit better than simply stretching to fullscreen, but 640x480 resolution is just pretty ridiculous resolution for the today's standards. Atleast ask the player whether to proceed before changing the resolution: "if show_question('resolution change?') display_... etc." now how hard was that?
  • 0

#14 NakedPaulToast

NakedPaulToast

    GM Studio/Mac/Win

  • GMC Member
  • 7182 posts
  • Version:GM:Studio

Posted 28 March 2009 - 02:04 PM

Why was exclusive graphics mode removed?


Exclusive mode had it's problems. Any time you went into exclusive mode any time the resolution changed, all open windows that were larger than the screen resolution were resized, it was particularly annoying. There were also many functions that were no longer available in exclusive mode.
  • 0

#15 ckv

ckv

    GMC Member

  • GMC Member
  • 46 posts

Posted 28 March 2009 - 03:31 PM

Exclusive mode had it's problems. Any time you went into exclusive mode any time the resolution changed, all open windows that were larger than the screen resolution were resized, it was particularly annoying. There were also many functions that were no longer available in exclusive mode.

I don't recall exclusive mode having that window resize problem.

I do know that exclusive mode had it's limitations like not been able to show other windows e.g. messages, highscore list, or game information also debuging in exclusive mode was not possible, but in my opinion the all those limitations were small amount to pay for proper full screen mode.
  • 0

#16 makerofthegames

makerofthegames

    TV's busboy

  • GMC Member
  • 7299 posts
  • Version:GM:Studio

Posted 28 March 2009 - 04:12 PM

Stretching low-resolution games to my 1440x900 resolution looks horrible and it's annoying. So please don't do it. You could make it an option, but don't ever force it.

..Yeah, we're not talking about that, or atleast the first post wasn't. Full screen doesn't count as resolution change. :whistle:
  • 0

#17 Pie Person!

Pie Person!

    GM 6+ Lover

  • GMC Member
  • 1973 posts

Posted 28 March 2009 - 05:56 PM

Indeed GearGOD. It annoys me when I play Game Maker content which changes my screen resolution or gamma. But you can find that most PC games do that; except these games will still restore your resolution if the application unexpectedly stops. That is why I recommend that you don't mess with resolution or gamma in Game Maker.
  • 0

#18 Potnop

Potnop

    GMC Member

  • GMC Member
  • 3101 posts

Posted 28 March 2009 - 06:32 PM

It's not so bad to start full screen mode though. The game scales itself up but doesn't change resolution. It even maintains the proper aspect ratio if the resolution is widescreen and your game is using 4:3.

It's just a bit annoying for instant play I guess and they advise against it, but if you don't plan on using instantplay starting in full screen mode should be no problem.
  • 0

#19 CompanionCube

CompanionCube

    GMC Member

  • New Member
  • 220 posts

Posted 29 March 2009 - 01:02 AM

Hmm, I have to agree here. The amount of times a crappy WIP has crashed and left me with an unusable resolution... there is no reason why we should be forced to take on an unsuitable resolution.
  • 0

#20 Wombat

Wombat

    GMC Member

  • New Member
  • 339 posts

Posted 29 March 2009 - 01:21 AM

That's why the rules in Creations (I don't know about WIP) say to state if your game changes the screen resolution.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users