Resizing Window should keep Aspect Ratio #73

Open
opened 2024-10-18 09:15:33 -05:00 by sigonasr2 · 2 comments
Owner

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.
sigonasr2 added the
enhancement
label 2024-10-18 09:15:33 -05:00
sigonasr2 self-assigned this 2024-10-18 09:15:33 -05:00
Author
Owner

Look into SetWindowSize() function from PGE 2.26.

Look into SetWindowSize() function from PGE 2.26.
Author
Owner
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/
Sign in to join this conversation.
No description provided.