bartbes wrote:Oops, my bad! But in that case, don't do what you said.
what shouldn't i do again? im kinda confused sorry
bartbes wrote:Oops, my bad! But in that case, don't do what you said.
Code: Select all
file:write(tostring(love.image.newImageData(love.filesystem.newFileData(data, 'img', 'file'))))
Code: Select all
fileLoc="(folder if theres any)/file.jpg"
wow! that's actually a cool way of importing files. ill look into that tomorrow.slime wrote:Users can drag-and-drop files and folders onto the game's window