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.
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.
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/
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/