filesyststem isDirectory works in source, but not in .love
Posted: Tue Jan 07, 2014 6:06 am
Hello,
Hopefully this is just a n00b mistake someone will be able to clear up no sweat. When running my game with 'love .' in the root directory works just fine. However, when I create the .love file and try to run that I'm finding that the line 'love.filesystem.isDirectory(path)' is now returning false instead of true, causing one of my assert statements to fail.
I'm 99.9% sure I'm creating the .love correctly. It loads love, and I get the skyblue window with the traceback to my assert in white. If I unzip the .love into another directory, I can enter it and run 'love .' and have everything work again.
I am trying to run the .love in windows, and I'm running 'love .' in linux, so maybe that's related. I tried flipping the path separators around to no avail (/ to \), but I didn't think that was the issue anyway since my understanding is that love code is supposed to be cross platform.
Thanks for any light you can shed.
Hopefully this is just a n00b mistake someone will be able to clear up no sweat. When running my game with 'love .' in the root directory works just fine. However, when I create the .love file and try to run that I'm finding that the line 'love.filesystem.isDirectory(path)' is now returning false instead of true, causing one of my assert statements to fail.
I'm 99.9% sure I'm creating the .love correctly. It loads love, and I get the skyblue window with the traceback to my assert in white. If I unzip the .love into another directory, I can enter it and run 'love .' and have everything work again.
I am trying to run the .love in windows, and I'm running 'love .' in linux, so maybe that's related. I tried flipping the path separators around to no avail (/ to \), but I didn't think that was the issue anyway since my understanding is that love code is supposed to be cross platform.
Thanks for any light you can shed.