Saplings-Projects / Birthday-2024

Game project for birthday in 2024 : a puzzle game where you must fit the pieces on the space you have
GNU General Public License v3.0
1 stars 6 forks source link

Windowed game position adjustement #23

Open Casulono opened 9 months ago

Casulono commented 9 months ago

Based on https://github.com/Saplings-Projects/Birthday-2024/pull/19 Changing the resolution of the windowed game will result in the game window being partially outside of the screen. Every change should also result in window repositioning e.g. centered on screen

Mikotey commented 9 months ago

If this is talking about the main level scene, then I know how to fix the grid from going offscreen after messing around in HDAK's UI fork

BishopJohnson commented 9 months ago

@Mikotey, this issue is talking about the physical application window for the game being offscreen when changing to windowed or the resolution. It's just UX to have the window be moved to a position so it looks nicer after applying the change.

Mikotey commented 9 months ago

Unassigned myself since my changes for screen resolution handling wasn't related, and I am not sure if I'll be able to get around to this

Mikotey commented 7 months ago

Sounds like a nice improvement, but no one is familiar with what it would take to accomplish this. The user can drag the window back onto the screen if it moves away on resolution change.

In attempts to finish up the project, I am considering this issue informally CLOSED