My Love has always been working, and I know what I'm doing with Lua. Recently whenever I drag my game onto the Love application, it says 'No game'. I just uninstalled and re-downloaded Love. Does anyone know how I can fix this? I have a basic outline of my game here, I'm pretty sure I'm not doing anything wrong..
function love.load()
player = {}
player.x = 50
player.y = 50
player.speed = 5
end
function love.update(dt)
if love.keyboard.isDown("left") then
player.x = player.x - player.speed * dt
elseif love.keyboard.isDown("right") then
player.x = player.x + player.speed * dt
end
end
function love.draw()
love.graphics.rectangle("fill". player.x, player.y, 30, 30)
end
That error should happen when you try to open an invalid .love file or feed LÖVE an invalid path... Do other folders, or .love files (you can find a bunch of them in the Project and Demos section, here's one) work?
EDIT: Yes, probably providing more informations would help too
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics