Just saying hello :)
Posted: Mon Nov 17, 2008 1:01 am
Hey there,
I just wanted to join the band and praise the LOVE. It works great and is very (well, almost ridiculously ) easy. It's just awesome. So far (just starting a little project on my own) everything I really needed was already included.
I have just one little question regarding packages (*.love files) and managing files in the code. I was trying to use io.open() function to check whether a file exists and if it does, load it with love.graphics.newImage(). Usually this works fine, however - it seems that once everything is packed into *.love, io.open() doesn't check the package itself for the file, only the path where *.love file is placed. Is there any LOVE method to check if file exists or read files at all?
Cheers,
Ethnar
PS I'm not really sure that posts like this belong here, but I hope I won't hurt anyone placing it here
PS2 Sorry if my actual question is trivial/covered in reference manual, I just wanted to use it as an excuse to say hi
I just wanted to join the band and praise the LOVE. It works great and is very (well, almost ridiculously ) easy. It's just awesome. So far (just starting a little project on my own) everything I really needed was already included.
I have just one little question regarding packages (*.love files) and managing files in the code. I was trying to use io.open() function to check whether a file exists and if it does, load it with love.graphics.newImage(). Usually this works fine, however - it seems that once everything is packed into *.love, io.open() doesn't check the package itself for the file, only the path where *.love file is placed. Is there any LOVE method to check if file exists or read files at all?
Cheers,
Ethnar
PS I'm not really sure that posts like this belong here, but I hope I won't hurt anyone placing it here
PS2 Sorry if my actual question is trivial/covered in reference manual, I just wanted to use it as an excuse to say hi