Error
main.lua:1:module 'char.lua' not found:
no file "char/lua.lua" in LOVE game directories.
no extension"char.lua" in LOVE paths.
not field package.preload['char.lua']
no file '.\char\lua.lua
no file 'C:\Program Files\LOVE\lua\char\lua.lua'
no file 'C:\Program Files\LOVE\lua\char\lua\init.lua'
no file 'C:\Program Files\LOVE\char\lua.lua'
no file 'C:\Program Files\LOVE\char\lua\init.lua
no file 'C:\Program Files\Lua\5.1\lua\char\lua.luac'
no file '.\char\lua.dll'
no file 'C:\Program Files\LOVE\char\lua.dll'
no file 'C:\Program Files\LOVE\loadall.dll'
no file '.\char.dll'
no file 'C:\Program Files\LOVE\char.dll'
no file 'C:\Program Files\LOVE\cloadall.dll'
Traceback
[C]: in function 'require'
Code: Select all
require("char.lua")
function love.load()
love.graphics.setBackgroundColor(255,255,255)
end
function love.draw()
charDraw()
end
function love.update()
end
]