[SOLVED] Simple Question, Can I start app in vertical resolution?

Using simple desktop app on (windows), I tried to use

AppSettings settings = new AppSettings(true);
settings.setResolution(1080, 1920);
settings.setVSync(true); //Or false

but i didn’t work

You probably have to disable fullscreen.

1 Like

Yes. You can. Proof initialized 200x400

You are probably having trouble because you are starting the app in full mode but your monitor doesn’t support that resolution.

You can read more about the full screen topic below:

1 Like

Yes, You are right

AppSettings  appSettings = new AppSettings(true);
appSettings.setResolution(432, 768);
appSettings.setCenterWindow(false);
appSettings.setWindowXPosition(1366/2 - 432/2);
game.setSettings(appSettings);
game.setShowSettings(false); // very important
1 Like