Page 1 of 1

Yigg-- Love has inconsistent pathing...

Posted: Sat Oct 02, 2010 4:00 am
by MaskedRetreiver
0.62-- If I start writing:

local f = assert(io.open("mapdata.lua", "w"))

The file goes to the path of the .bat file that's driving, but if I load:

love.filesystem.load("mapdata.lua")()

It goes to the local path. Of course, I probably should be using love.filesystem but I think it's worth labeling as an "issue" even if it is the result of doing something a bit wrong...

Re: Yigg-- Love has inconsistent pathing...

Posted: Sat Oct 02, 2010 6:53 am
by bartbes
This is not an issue at all, everyone knows (or should know) that io is lua inbuilt and love.filesystem is love's.

Re: Yigg-- Love has inconsistent pathing...

Posted: Sat Oct 02, 2010 3:10 pm
by MaskedRetreiver
True enough. Perhaps I should write a tutorial for writing out/reading in matrices so this doesn't happen to the next guy tho. :|

Re: Yigg-- Love has inconsistent pathing...

Posted: Sat Oct 02, 2010 7:01 pm
by zac352
Last time I (tried) using io in love, it crashed. :(

Re: Yigg-- Love has inconsistent pathing...

Posted: Sat Oct 02, 2010 7:03 pm
by bartbes
Then you must have done it wrong.

Re: Yigg-- Love has inconsistent pathing...

Posted: Sat Oct 02, 2010 7:04 pm
by zac352
bartbes wrote:Then you must have done it wrong.
:roll: