Search found 2 matches
- Fri Nov 20, 2020 6:10 pm
- Forum: Support and Development
- Topic: love.filesystem.getInfo() Searching only game files and not Save files
- Replies: 3
- Views: 3924
Re: love.filesystem.getInfo() Searching only game files and not Save files
It is, and even if you have a file with the same name and path in both your save directories AND the game's directory (relative to main.lua), by default, precedence goes to the save directory... the only two things i can think of is either - you didn't set an identity for your project, so there's n...
- Thu Nov 19, 2020 9:21 pm
- Forum: Support and Development
- Topic: love.filesystem.getInfo() Searching only game files and not Save files
- Replies: 3
- Views: 3924
love.filesystem.getInfo() Searching only game files and not Save files
When I do this if love.filesystem.getInfo('options.txt') == nil then file = love.filesystem.createDirectory('options') getInfo searches for options.txt inside the same directory that main.lua instead of the SaveDIrectory and createDirectory creates the folder in the SaveDirectory. when I write this ...