Search found 2 matches
- Sat Jan 05, 2013 11:37 pm
- Forum: Support and Development
- Topic: lovel.filesystem.load and Lua files in working directory
- Replies: 3
- Views: 3132
Re: lovel.filesystem.load and Lua files in working directory
Annnd nevermind. require 'sub/file' did the trick.
- Sat Jan 05, 2013 11:26 pm
- Forum: Support and Development
- Topic: lovel.filesystem.load and Lua files in working directory
- Replies: 3
- Views: 3132
Re: lovel.filesystem.load and Lua files in working directory
Have you (or anyone else reading this...) had any luck loading lua files from subdirectories within the love directory? I've tried doing this with something like require '/sub/something.lua' but it doesn't work because the project path is centered on the love executable, not the main.lua directory. ...