#How to let window be resizeable but remain square?
5 messages · Page 1 of 1 (latest)
Operating systems don't really support that. You'll want to add some black bars (or some other background) to your game.
(ps: even if this was supported, it makes for a really bad user experience. Please don't do this.)
Can you elaborate? If I'm making an immersive 3d game like a FPS, yes this would be terrible. Why would it be bad for a 2d game like chess? Is this not how a web chess game would be?
In a website it's not a problem because the browser window can still be placed as you want,
but if the actual window had a fixed aspect ratio that would mean it can't be maximised or tiled properly.
Fullscreen would also need black bars, even in a browser.