GM:S 1.4 Setting screen resolution

Discussion in 'Programming' started by GlitchCrew, Jun 21, 2016.

Tags:
  1. GlitchCrew

    GlitchCrew Member

    Joined:
    Jun 21, 2016
    Posts:
    22
    Hello!

    In GM8 it was possible to set screen resolution in global game settings like this:
    http://imgur.com/pN9oBWX

    However in GM:S there is no such option:
    http://imgur.com/JhGRJZA

    Is there any way to set screen resolution equal to game (room) resolution?
    Usual way of setting game resolution equal to screen resolution doesn't work very good in my case.
     
  2. Greenhawk

    Greenhawk Threatuna Agent

    Joined:
    Jun 20, 2016
    Posts:
    45
  3. GlitchCrew

    GlitchCrew Member

    Joined:
    Jun 21, 2016
    Posts:
    22
  4. GlitchCrew

    GlitchCrew Member

    Joined:
    Jun 21, 2016
    Posts:
    22
    I've tried searching but haven't find anything relevant. Could you please provide a link?
     
  5. GlitchCrew

    GlitchCrew Member

    Joined:
    Jun 21, 2016
    Posts:
    22
    Thanks!

    I still don't understand why devs decided to remove this feature from GMS. I see nothing wrong with changing screen resolution when a game starts and then changing it back to original when a game ends. Perhaps I should consider switching to GM8...
     
  6. GlitchCrew

    GlitchCrew Member

    Joined:
    Jun 21, 2016
    Posts:
    22
  7. Greenhawk

    Greenhawk Threatuna Agent

    Joined:
    Jun 20, 2016
    Posts:
    45
    Thanks for the backup (or for the real information :p) . I felt bad for not supplying enough information. :)
     
    Lonewolff likes this.
  8. Nujuat

    Nujuat Guest

    I'm not exactly what you're trying to do, but messing around with views and the application surface might help.

    As for changing the aspect ratio - basically change the aspect ratio of the view to the aspect ratio of the screen (or window or whatever). I can go into more depth if you want.
     
  9. RangerX

    RangerX Member

    Joined:
    Jun 20, 2016
    Posts:
    2,595
    Yes in GameMaker Studio its your game that you adapt to different monitors and not the opposite.
    And don't worry there's a way to make it clean in all situations. It depends what is your need.

    The resolution of your game will be the first room's view size. Else if you don't use views (which I strongly advise against) your game resolution will be your first room's size.
    Your game need to detect monitor's size when it boots up and resize the application surface to what makes sense for your game. Either displaying your game the biggest possible while respecting the screen ratio (perfectly doable just with the global settings) or again always having your game "pixel perfect" which requires a bit more work but is again perfectly doable.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice