Search found 1 match

by GetAsync
Wed Jan 29, 2025 11:01 am
Forum: Support and Development
Topic: Require a Lua file from the same directory as a built EXE?
Replies: 3
Views: 956

Require a Lua file from the same directory as a built EXE?

My normal project follows this structure: main.lua assets image.png levels forest init.lua background.png space init.lua background.png Main.lua is able to iterate through the assets/levels directory using this method: love.filesystem.getDirectoryItems(LevelHandler.Directory) In each level folder, i...