How do I support different resolutions on PC?

0 favourites
  • 6 posts
From the Asset Store
A space themed game with high quality 2D graphics and addictive music that provide hours of fun
  • Wanna make a game for PC, with like standard resolution of 1280,720, 1920,1080 ect.. How do I do this? ... reen-sizes This didn't help me <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

  • That's weird, that tut helped me out very much.

    Which issues are you encountering exactly?

  • That's weird, that tut helped me out very much.

    Which issues are you encountering exactly?

    I want people to be able to have a options tab where people can control the resolution of the program (game)

  • You can't. No doubt a limitation of using browser technology. C2/NWjs fullscreen mode is just a borderless window scaled up to fill the screen.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • all screen size and resolutions are supported automatically with the right settings eg letterbox scaling / full screen scaling / high DPI / linear sampling etc...your decisions rest around window size / resolution / aspect ratio and producing your art assets at a resolution to suit.

    I think what you are talking about is letting the user set the window size from within the game.

    im assuming it should be possible, maybe with a layer reset.

    it would be interesting to know if you can do this.

    why don't you give it a try and let us know.....

  • In your place I'd try to produce assets with the higher resolution and downscale the layer (lowering the layer scale.x and y) accordingly when the user selects a lower res. (that would also mean that the screen ratio should be fixed)

    Yet you should consider that using higher res. assets downscaled could give performances issues and to solve that you should provide different res for your assets too.

    Make some tests about this argument and tell us what you have discovered

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)