Code: Select all
dofile("ui.lua")
When I build a Mac application bundle and put the .love file in my-game.app/Contents/Resources/my-game.love, however, it fails with the error:
Code: Select all
cannot open ui.lua: No such file or directory
Code: Select all
dofile("ui.lua")
Code: Select all
cannot open ui.lua: No such file or directory
Code: Select all
require("ui")
Code: Select all
love.filesystem.load("ui.lua")()
Users browsing this forum: Google [Bot] and 1 guest