Hello all,
I post here because me and the team I am working together are facing a big problem regarding publishing our game in PC (Steam).
The problem we are facing is the absence of any resolution change option for the final user/gamer who eventually will play our game.
Now I know all about aspect ratios and the options to scale in or out etc. But this is not the nature of out problem. Ashley explains well in his article construct.net/en/tutorials/supporting-multiple-screen-sizes-77 how to create a game to fit in multiple resolutions, but if you publish a pc game you need to have the option to change the resolution.
I have dig a lot into this and so far my understanding is that we can not change user's screen resolution by using NW.js exports. NW.js was originally made to help people to compile their website into a desktop app. It is not a dedicated compiler in order to make games.
The real problem here is these two facts:
1. Our NW.js exported game can not detect user's screen resolution.
2. Our NW.js exported game can not change user's screen resolution.
So I tried to find some ways to work around this and the only "near to a solution" I found was using a script that makes our game play in windowed borderless fullscreen. It kind of works by having fullscreen and the same aspect ratio in any resolution. But if windows button is pressed or if you click inside the screen with your mouse, then it breaks. You can follow the topic about this script here: construct.net/en/forum/construct-3/how-do-i-8/fullscreen-via-nw-jshotkeying-155346
The result is that we can not publish our game in Steam. The original resolution of our Game is 1920x1080, we have put a lot of effort so far to build our game, but this problem is driving us crazy. Not to be able to change user's resolution in-game raised a big red flag for further development.
If you have any suggestions to work around this problem please let me know.