Search found 2 matches

by sigmasoldier
Mon Jul 17, 2017 10:47 am
Forum: Support and Development
Topic: require call inside a new thread changes the base path
Replies: 2
Views: 1845

Re: require call inside a new thread changes the base path

Works as a charm!!!! Never thought that new threads would mess up the loading system, but as you say I've just noticed that the wiki also says "When a Thread is started, it only loads the love.thread module. Every other module has to be loaded with require. " <- I didn't mind this, my bad....
by sigmasoldier
Sat Jul 15, 2017 11:15 am
Forum: Support and Development
Topic: require call inside a new thread changes the base path
Replies: 2
Views: 1845

require call inside a new thread changes the base path

Hello there! I'm running on a huge trouble: I'm trying to make an asynchronous load of all my game's content by moving all the steps into a new thread, but the problem is that the base path inside the new thread is different that the one in the main thread. This means that I cannot share required mo...