I create a main.lua file .
and then I create another lua file for example player.lua , and it crashes saying that file i put is not found !!
please help me this issue got over my patient
this is main.lua file .
Code: Select all
require "player.lua"
function love.load()
end
function love.update(dt)
end
function love.draw()
end
Code: Select all
player.lua = {}
player.x = 500
player.y = 300
function player.draw()
end
function player.update(dt)
end