I made levels in Tiled and export theirs to lua.
Then I just run file using:
dofile("editor/level"..num..".lua")
and in editor game works fine.
But when I try to make release build I recive error
editor/level1.lua: No such file or directory
as I understand my “editor” folder do not include into build
I have too many levels, and i don’t want to use “require” to every file
Maybe I can include whole folder into the release build?