Love2D VS Windows 10 Scale and Layout

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.
Post Reply
128Gigabytes
Prole
Posts: 14
Joined: Wed Jan 04, 2017 5:53 pm

Love2D VS Windows 10 Scale and Layout

Post by 128Gigabytes »

Hey I'm trying to make a game and I have a 4K monitor and so I have my windows 'Scale and layout' set to upscale apps and text to 175% but when I set my love2D game to fullscreen, it also gets upscaled, so a 25x25 pixel perfect becomes rectangle a 42 by 42 -ish blurry box (75% increase) and instead of giving me a 4096 by 2160 pixel layout in fullscreen it gives me 2340 by 1233 pixel layout in full screen.
User avatar
pgimeno
Party member
Posts: 2555
Joined: Sun Oct 18, 2015 2:58 pm

Re: Love2D VS Windows 10 Scale and Layout

Post by pgimeno »

Take a look at this. Maybe you need to use it to downscale.

https://love2d.org/wiki/love.window.getPixelScale
128Gigabytes
Prole
Posts: 14
Joined: Wed Jan 04, 2017 5:53 pm

Re: Love2D VS Windows 10 Scale and Layout

Post by 128Gigabytes »

No, what I need is for the love2D window in fullscreen mode to be 4K, like my screens resolution :C

Edit: Because if I downscale it I can't even make a 1x1 pixel without it blurring into multiple pixels.
User avatar
zorg
Party member
Posts: 3073
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: Love2D VS Windows 10 Scale and Layout

Post by zorg »

Don't know if you can make löve disregard windows' scaling or not, but that would be one solution.

Edit: Just realized this was my 2000th post, oh well. :P
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 19 guests