I wrote a little snippet for converting from LÖVE's scale factor to a pixel size of your choice. Of course, you don't have to keep any particular aspect ratio, but I would recommend you do usually. Although in some cases you might need to set an enforced pixel size. Here is the snippet:
function pixToScale( destSize, currSize )
return destSize / currSize
end
You put the size you want as destSize, and the image/whatever's current size as currSize.
I hope you find this useful! I couldn't see this on the snippets part of the wiki. This is something I didn't find obvious, and had to search for a couple of days to find the answer. Just thought I'd share and help anyone else in need of this sort of thing!
Have a great day!
"In those quiet moments, you come into my mind" - Liam Reilly
That's completly right, I uses this method to resize images. And I'm probably gonna use it to resize the screen to make my games support multiple screen resolutions.
LoveDebug- A library that will help you debug your game with an on-screen fully interactive lua console, you can even do code hotswapping