Search found 2 matches

by WheresYourUniform
Sat Jan 05, 2013 11:37 pm
Forum: Support and Development
Topic: lovel.filesystem.load and Lua files in working directory
Replies: 3
Views: 1030

Re: lovel.filesystem.load and Lua files in working directory

Annnd nevermind. require 'sub/file' did the trick.
by WheresYourUniform
Sat Jan 05, 2013 11:26 pm
Forum: Support and Development
Topic: lovel.filesystem.load and Lua files in working directory
Replies: 3
Views: 1030

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. ...