[SOLVED] Centering Game Window in Fullscreen

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
zorg
Party member
Posts: 3441
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: [SOLVED] Centering Game Window in Fullscreen

Post by zorg »

I mean, for fullscreen mode, grumps solution that i've edited to scale automatically, works; for windowed mode, if you want to allow window resizing through border dragging, then you need to prevent the window from being set to arbitrary sizes, and snap to the closest one when someone does try; there's a callback for that, which is aptly named love.resize.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests