So i have a .love file that has code that requires a external file named 'money.lua' and it says it does not exist. Oddly enough this doesn't happen when its not in a .love file. I am running the newest version of love.
Heres the stuffs
The problem may be because the file "money.lua" is not being created on line 85.
I don't think love.filesystem.newFile() actually writes a physical file to the hard drive. love.filesystem.write() will create a file if it does not exist. You can try changing that line to:
RaptrStudios wrote:So i have a .love file that has code that requires a external file...
If you mean a file that's not in the .love file, then you can use the game's save folder to load in files, and to save them there.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
I dont know how.
Could you show me?
Also, i have encountered an error, i fixed the problem with a .love file but when i export it to a .exe it says that the file could not be found!
How could i fix this??