Yigg-- Love has inconsistent pathing...

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
MaskedRetreiver
Prole
Posts: 22
Joined: Sat Sep 25, 2010 4:13 pm

Yigg-- Love has inconsistent pathing...

Post 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...
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

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

Post 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.
MaskedRetreiver
Prole
Posts: 22
Joined: Sat Sep 25, 2010 4:13 pm

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

Post 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. :|
User avatar
zac352
Party member
Posts: 496
Joined: Sat Aug 28, 2010 8:13 pm
Location: In your head.
Contact:

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

Post by zac352 »

Last time I (tried) using io in love, it crashed. :(
Hello, I am not dead.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

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

Post by bartbes »

Then you must have done it wrong.
User avatar
zac352
Party member
Posts: 496
Joined: Sat Aug 28, 2010 8:13 pm
Location: In your head.
Contact:

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

Post by zac352 »

bartbes wrote:Then you must have done it wrong.
:roll:
Hello, I am not dead.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 7 guests