Resizing Window should keep Aspect Ratio #73
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If we resize the window, we shouldn't have borders exist, both dimensions should resize at the same time. This would feel more natural and also ease the annoyances from players who see small pixel borders when trying to resize the game.
Look into SetWindowSize() function from PGE 2.26.
https://www.daniweb.com/programming/software-development/threads/404776/maintain-aspect-ratio-with-windows-api
Could potentially help.
And for Linux:
https://www.linuxquestions.org/questions/programming-9/%5Bc%5D-x11-window-of-fixed-aspect-ratio-843617/