Resizing Window should keep Aspect Ratio #73

Open
opened 2024-10-18 09:15:33 -05:00 by AMay · 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.
AMay added the
enhancement
label 2024-10-18 09:15:33 -05:00
AMay 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/
AMay added the
minor
label 2025-07-25 08:26:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: AMay/AdventuresInLestoria#73
No description provided.