I have some questions about drawing images and filesystem.
I have trouble with drawing resized 1600x1200 image (Making background for a game), when i drawing the image via this code:
Code: Select all
local bg = love.graphics.newImage("background01.jpg")
love.graphics.draw(bg,0,0,0,love.graphics.getWidth() / bg:getWidth(),love.graphics.getHeight() / bg:getHeight(),0,0)
About the filesystem: I already know how to write and read files, but i need somehow write files into the root folder of a .love/.exe (or even into the .love/.exe file) and i have no idea how to do that. Can anyone help me?