Page 1 of 1

Love2D VS Windows 10 Scale and Layout

Posted: Sun Jan 28, 2018 8:23 pm
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.

Re: Love2D VS Windows 10 Scale and Layout

Posted: Sun Jan 28, 2018 9:18 pm
by pgimeno
Take a look at this. Maybe you need to use it to downscale.

https://love2d.org/wiki/love.window.getPixelScale

Re: Love2D VS Windows 10 Scale and Layout

Posted: Sun Jan 28, 2018 9:24 pm
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.

Re: Love2D VS Windows 10 Scale and Layout

Posted: Mon Jan 29, 2018 4:01 am
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