Search found 3 matches
- Sun Dec 06, 2020 3:22 pm
- Forum: Support and Development
- Topic: Why is this file path invalid?
- Replies: 4
- Views: 2433
Re: Why is this file path invalid?
That would definitely work. But instead, I made a lua script that I run before I launch love that replaces all relative paths by the project path. As Tiled exports the paths relative to the tilemap/tileset. This way I can actually be a little more efficient at runtime, as I don't need to do any conc...
- Sat Dec 05, 2020 10:10 pm
- Forum: Support and Development
- Topic: Why is this file path invalid?
- Replies: 4
- Views: 2433
Re: Why is this file path invalid?
Yup, seems like I'll have to find a way to fix those paths. Thanks
- Sat Dec 05, 2020 6:53 pm
- Forum: Support and Development
- Topic: Why is this file path invalid?
- Replies: 4
- Views: 2433
Why is this file path invalid?
Hi all, first time poster here. I have the following file system: project |_ engine | |_ images.lua | |_ tilemaps | |_ export | |_ textures | | |_ tileset_0.png | | | |_ worlds | |_ main.lua in line 14 of images.lua I have the line local img = lovae.graphics.newImage("tilemaps/worlds/../export/...