Re: [solved] example request , canvas scale - camera - pixel perfect - simplified
Posted: Fri Aug 19, 2022 6:18 pm
You could PM a link to a download.
I know this is an older thread, but it is important to know for others that are reading this topic that you need to setdarkfrei wrote: ↑Wed Mar 02, 2022 10:05 amI think that it has no effect by upscaled canvases.gcmartijn wrote: ↑Wed Mar 02, 2022 10:01 am Is it better to use this in my case? Don't know what it does exactly.
Code: Select all
t.window.usedpiscale = false -- Enable automatic DPI scaling (boolean) t.window.highdpi = false -- Enable high-dpi mode for the window on a Retina display (boolean)
Code: Select all
t.window.highdpi = true -- Enable high-dpi mode for the window on a Retina display (boolean)
Code: Select all
t.window.usedpiscale = false -- Enable automatic DPI scaling (boolean)
-- this is now unreadable small
love.graphics.print("FPS: " .. tostring(love.timer.getFPS()), 10, 10)