Page 2 of 2

Re: Understanding Scaling for different resolutions

Posted: Fri May 29, 2015 6:20 pm
by slime
portify wrote:Just pass all coordinate input through love.window.fromPixels and all coordinate output through love.window.toPixels.
Indeed – although if you're using love.graphics.scale(love.window.getPixelScale()), then you probably won't want to use toPixels since the scaled coordinates won't be in pixels.