[solved] example request , canvas scale - camera - pixel perfect - simplified
Re: [solved] example request , canvas scale - camera - pixel perfect - simplified
You could PM a link to a download.
Tools: Hot Particles, LuaPreprocess, InputField, (more) Games: Momento Temporis
"If each mistake being made is a new one, then progress is being made."
"If each mistake being made is a new one, then progress is being made."
Re: example request , canvas scale - camera - pixel perfect - simplified
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)
This one is not needed (I hope).
To say it simple, when you set this one to true, you get a super small font because it is using the super high resolution that the Mac is using.
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)
Who is online
Users browsing this forum: Ahrefs [Bot] and 12 guests