I am trying to run this :
Code: Select all
img = love.graphics.newImage("d:/xxxx/Documents/tiles/12/2061/1436.png")
Love fails to find the file, although I did check the file exists and is readable.
If I perform a hard link to the tiles directory within the project directory and change the code into :
Code: Select all
img = love.graphics.newImage("tiles/12/2061/1436.png")
However, this has the disavantage of putting a lot of data into the project directory, several Go in my case,
it will not be possible to distribute the game like this.
I have two questions :
- during the development stage, I would like to be able to access data from anywhere on the disk, how can I do ?
- when distributing the game, some data can be embedded, but most of it not. Is it possible to distribute the executable
game with some command line options, one of it being the path where external data is ?
Regards