Heavy newb questions I need to get off my chest..
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Heavy newb questions I need to get off my chest..
OHHH... you can keep things OUT of the file and call them? That 's so next.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Heavy newb questions I need to get off my chest..
?Xoria wrote:OHHH... you can keep things OUT of the file and call them? That 's so next.
Help us help you: attach a .love.
Re: Heavy newb questions I need to get off my chest..
Can you put files out of the love file, and use them?
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Heavy newb questions I need to get off my chest..
I guess kind of. Can't you? As long as the files are placed in the support folder for the current game. I don't know enough. But I would guess if anything, the files must be put in the same working directory Löve writes to. I'll have to do a test.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Heavy newb questions I need to get off my chest..
With LÖVE, you can use files from two locations:Xoria wrote:Can you put files out of the love file, and use them?
- The .love (or otherwise the same location main.lua is)
- The write directory
Help us help you: attach a .love.
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Heavy newb questions I need to get off my chest..
What happens if both the Löve directory and the write directory have a file with the same name? Which gets loaded and which gets ignored?
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Heavy newb questions I need to get off my chest..
The write dir one gets loaded.
Re: Heavy newb questions I need to get off my chest..
Really?bartbes wrote:The write dir one gets loaded.
If this is wrong, it should be changed...the wiki wrote:Files that are opened for read will be looked for the game root folder, and then in the save directory (in that order). So if a file with a certain filename (and path) exist in both the .love-file and the save folder, the one in the .love-file takes precedence.
Re: Heavy newb questions I need to get off my chest..
Does this really work?
I am trying to use "love.filesystem.enumerate" and I have to put the files I am looking to read in the .zip, if I want to use a .love file (or deployment exe).
I am trying to use "love.filesystem.enumerate" and I have to put the files I am looking to read in the .zip, if I want to use a .love file (or deployment exe).
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Heavy newb questions I need to get off my chest..
Yes, anjo, really, and this has been this way for 3 versions. I always wondered who was ignorant enough to keep lying.
Who is online
Users browsing this forum: Google [Bot] and 7 guests